db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Resch (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6582) Database corruption after OutOfMemoryError
Date Thu, 22 May 2014 13:09:02 GMT
Andreas Resch created DERBY-6582:
------------------------------------

             Summary: Database corruption after OutOfMemoryError 
                 Key: DERBY-6582
                 URL: https://issues.apache.org/jira/browse/DERBY-6582
             Project: Derby
          Issue Type: Bug
          Components: Store
    Affects Versions: 10.9.1.0
         Environment: 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
            Reporter: Andreas Resch


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)





--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message