Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A7499BD9 for ; Fri, 9 Mar 2012 06:48:26 +0000 (UTC) Received: (qmail 3220 invoked by uid 500); 9 Mar 2012 06:48:26 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 3183 invoked by uid 500); 9 Mar 2012 06:48:25 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 3151 invoked by uid 99); 9 Mar 2012 06:48:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 06:48:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 06:48:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BC2B911F17 for ; Fri, 9 Mar 2012 06:48:00 +0000 (UTC) Date: Fri, 9 Mar 2012 06:48:00 +0000 (UTC) From: "Knut Anders Hatlen (Commented) (JIRA)" To: derby-dev@db.apache.org Message-ID: <927605029.42494.1331275680772.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1926544250.42482.1331275200558.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-5642) OutOfMemoryError in OCRecoveryTest on phoneME MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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:.E > Time: 4.432 > There was 1 error: > 1) launchOCRecovery_1(org.apache.derbyTesting.functionTests.tests.store.OCRecoveryTest) > java.lang.OutOfMemoryError: [C > at java.io.BufferedReader.(Unknown Source) > at java.io.BufferedReader.(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) > > 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