Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4294

java.lang.OutOfMemoryError from mailjdbc test after running for one hour from select * from REFRESH.INBOX

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.3.3.0, 10.4.2.0, 10.5.3.0, 10.6.2.1
    • 10.7.1.1
    • Store
    • Window Vista
    • Normal
    • Repro attached
    • Crash

    Description

      After running mailjdbc test on 10.3 branch, select * from REFRESH.INBOX gave me error like:
      ERROR XJ001: Java exception: 'Java heap space: java.lang.OutOfMemoryError'

      I also see the same error on 10.5 branch.

      I inculde my mailsdb directory in this bug too.

      How to reproduce this issue:
      1. cd mailjdbc
      2. java org.apache.derbyTesting.system.mailjdbc.MailJdbc embedded
      3. Wait for an hour and ignore Primary key violation error
      ( : INFO :Refresh Thread : Error while inserting attachments:The statement was ab
      orted because it would have caused a duplicate key value in a unique or primary
      key constraint or unique index identified by 'ATTACH__PK' defined on 'ATTACH'.)

      Attachments

        1. Derby4294_pid6920.zip
          1.65 MB
          Lily Wei
        2. Heapspaceerror.zip
          536 kB
          Lily Wei

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lilywei Lily Wei
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: