db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5642) OutOfMemoryError in OCRecoveryTest on phoneME
Date Fri, 09 Mar 2012 06:48:00 GMT

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

Knut Anders Hatlen commented on DERBY-5642:
-------------------------------------------

OCRecoveryTest forks a new process that runs with default memory settings. The default memory
settings are very low on phoneME (default max heap size is 5 MB) and the forked process runs
out of memory while populating the test table. We should probably pass a flag to increase
the heap size of the forked JVM.
                
> OutOfMemoryError in OCRecoveryTest on phoneME
> ---------------------------------------------
>
>                 Key: DERBY-5642
>                 URL: https://issues.apache.org/jira/browse/DERBY-5642
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Knut Anders Hatlen
>            Assignee: Knut Anders Hatlen
>
> http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/Limited/testSummary-1298470.html
> There was 1 failure:
> 1) testOCRecovery(org.apache.derbyTesting.functionTests.tests.store.OCRecoveryTest)junit.framework.AssertionFailedError:
expectedExitValue:0 does not match exitValue:1
> expected output strings:
> 	[0]OK (1 test)
>  actual output:<STDOUT>.E
> Time: 4.432
> There was 1 error:
> 1) launchOCRecovery_1(org.apache.derbyTesting.functionTests.tests.store.OCRecoveryTest)<END
STDOUT>
> <STDERR>java.lang.OutOfMemoryError: [C
> 	at java.io.BufferedReader.<init>(Unknown Source)
> 	at java.io.BufferedReader.<init>(Unknown Source)
> 	at junit.runner.BaseTestRunner.getFilteredTrace(Unknown Source)
> 	at junit.textui.ResultPrinter.printDefectTrace(Unknown Source)
> 	at junit.textui.ResultPrinter.printDefect(Unknown Source)
> 	at junit.textui.ResultPrinter.printDefects(Unknown Source)
> 	at junit.textui.ResultPrinter.printErrors(Unknown Source)
> 	at junit.textui.ResultPrinter.print(Unknown Source)
> 	at sun.misc.CVM.runMain(Unknown Source)
> <END STDERR>
>  expected:<0> but was:<1>
> 	at org.apache.derbyTesting.junit.BaseTestCase.assertExecJavaCmdAsExpected(Unknown Source)
> 	at org.apache.derbyTesting.junit.BaseTestCase.assertLaunchedJUnitTestMethod(Unknown
Source)
> 	at org.apache.derbyTesting.functionTests.tests.store.OCRecoveryTest.testOCRecovery(Unknown
Source)
> 	at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source)
> 	at junit.extensions.TestDecorator.basicRun(Unknown Source)
> 	at junit.extensions.TestSetup$1.protect(Unknown Source)
> 	at junit.extensions.TestSetup.run(Unknown Source)
> 	at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source)
> 	at junit.extensions.TestDecorator.basicRun(Unknown Source)
> 	at junit.extensions.TestSetup$1.protect(Unknown Source)
> 	at junit.extensions.TestSetup.run(Unknown Source)
> 	at sun.misc.CVM.runMain(Unknown Source)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message