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

Database corruption after OutOfMemoryError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.9.1.0
    • None
    • Store
    • None
    • Apache Derby: 10.9.1.0 (1344872), RT info | os.arch=x86 | | os.name=Windows Server 2008 R2 | | os.version=6.1 | | java.version=1.6.0_17 | | -Xmx1024m
    • Data corruption

    Description

      after running into an out of memory error [1] the database cannot be used any more [2]. Full stacktraces follow as attachment

      [1] OutOfMemoryError Stacktrace
      DBMS failure (UE[DRDAConnThread_32]). Exiting with code -1
      java.lang.OutOfMemoryError: Java heap space
      at java.util.LinkedHashMap.createEntry(Unknown Source)
      at java.util.LinkedHashMap.addEntry(Unknown Source)
      at java.util.HashMap.put(Unknown Source)
      at sun.util.resources.OpenListResourceBundle.loadLookup(Unknown Source)
      at sun.util.resources.OpenListResourceBundle.loadLookupTablesIfNecessary(Unknown Source)
      at sun.util.resources.OpenListResourceBundle.handleGetObject(Unknown Source)
      at sun.util.resources.TimeZoneNamesBundle.handleGetObject(Unknown Source)
      at java.util.ResourceBundle.getObject(Unknown Source)
      at java.util.ResourceBundle.getObject(Unknown Source)
      at java.util.ResourceBundle.getStringArray(Unknown Source)
      at sun.util.TimeZoneNameUtility.retrieveDisplayNames(Unknown Source)
      at sun.util.TimeZoneNameUtility.retrieveDisplayNames(Unknown Source)
      at java.util.TimeZone.getDisplayNames(Unknown Source)
      at java.util.TimeZone.getDisplayName(Unknown Source)
      at java.util.Date.toString(Unknown Source)
      at java.lang.String.valueOf(Unknown Source)
      at java.lang.StringBuffer.append(Unknown Source)
      at org.apache.derby.impl.services.stream.BasicGetLogHeader.getHeader(Unknown Source)
      at org.apache.derby.iapi.error.ErrorStringBuilder.appendln(Unknown Source)
      [...]

      [2] ERROR XSLA6: Cannot recover the database.
      [...]
      Caused by: java.lang.NullPointerException
      at org.apache.derby.impl.store.raw.data.LogicalPageOperation.generateUndo(Unknown Source)

      Attachments

        1. log.dat.ctrl.zip
          158 kB
          Andreas Resch
        2. derby.OutOfMemory.log
          2 kB
          Andreas Resch
        3. derby.ERROR XSLA6.log
          22 kB
          Andreas Resch

        Issue Links

          Activity

            People

              Unassigned Unassigned
              antimaterie Andreas Resch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: