You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Andreas Resch (JIRA)" <ji...@apache.org> on 2014/05/28 16:26:02 UTC

[jira] [Comment Edited] (DERBY-6582) Database corruption after OutOfMemoryError

    [ https://issues.apache.org/jira/browse/DERBY-6582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14009994#comment-14009994 ] 

Andreas Resch edited comment on DERBY-6582 at 5/28/14 2:25 PM:
---------------------------------------------------------------

Hello Dyre and Mike, thanks for your feedback. 
In this case there was a database backup and no data recovery is needed. 

But i can't post the database as Mike assumed so I will provide the log files for further bug inspection.


was (Author: antimaterie):
Hello Dyre and Mike, thanks for your feedback. 
In this case there was a database backup and no data recovery is needed. 

But i can't post the database as Mike assumed so I will provide the log files for further bug inspection.
Before i put more work on it, are such tasks wanted here?

> 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
>         Attachments: derby.ERROR XSLA6.log, derby.OutOfMemory.log
>
>
> 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)