[
https://issues.apache.org/jira/browse/DERBY-5288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054034#comment-13054034
]
Myrna van Lunteren commented on DERBY-5288:
-------------------------------------------
Thanks for the commit.
Unfortunately, when I ran suites.All on my windowsXP with this change, with 8
concurrent jvms (4 different ones, ibm142, ibm15, ibm16 and jdk16) 4 of them,
the ibm142 and jdk16 ones, ran OutOfMemory with messages like this:
jdk16:
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
--------------------------------------
ibm 142:
SetQueryTimeoutTest java.lang.OutOfMemoryError: JVMCI015:OutOfMemoryError,
cannot create anymore threads due to memory or resource constraints
at java.lang.Thread.start(Native Method)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest.testTimeoutWithExec(SetQueryTimeoutTest.java:538)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest.go(SetQueryTimeoutTest.java:753)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.SetQueryTimeoutTest.main(SetQueryTimeoutTest.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java(Compiled
Code))
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled
Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at
org.apache.derbyTesting.functionTests.util.HarnessJavaTest.runTest(HarnessJavaTest.java:87)
at junit.framework.TestCase.runBare(TestCase.java(Compiled Code))
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java(Compiled
Code))
at junit.framework.TestResult$1.protect(TestResult.java(Inlined
Compiled Code))
at junit.framework.TestResult.runProtected(TestResult.java(Inlined
Compiled Code))
at junit.framework.TestResult.run(TestResult.java(Inlined Compiled
Code))
at junit.framework.TestCase.run(TestCase.java(Compiled Code))
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.framework.TestResult.runProtected(TestResult.java(Compiled
Code))
at junit.extensions.TestSetup.run(TestSetup.java:23)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.framework.TestResult.runProtected(TestResult.java(Compiled
Code))
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.framework.TestResult.runProtected(TestResult.java(Compiled
Code))
at junit.extensions.TestSetup.run(TestSetup.java:23)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
at junit.framework.TestSuite.runTest(TestSuite.java(Inlined Compiled
Code))
at junit.framework.TestSuite.run(TestSuite.java(Compiled Code))
at junit.framework.TestSuite.runTest(TestSuite.java(Inlined Compiled
Code))
at junit.framework.TestSuite.run(TestSuite.java(Compiled Code))
at junit.framework.TestSuite.runTest(TestSuite.java(Inlined Compiled
Code))
at junit.framework.TestSuite.run(TestSuite.java(Compiled Code))
at junit.framework.TestSuite.runTest(TestSuite.java(Compiled Code))
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at junit.textui.TestRunner.doRun(TestRunner.java:116)
at junit.textui.TestRunner.start(TestRunner.java:172)
at junit.textui.TestRunner.main(TestRunner.java:138)
--------------------------------------
The ibm 1.4.2 processes hung after this. The jdk16 processes have exited.
Any further help on this will be very welcome...
> running multiple suites.All concurrently should be possible
> -----------------------------------------------------------
>
> Key: DERBY-5288
> URL: https://issues.apache.org/jira/browse/DERBY-5288
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.6.2.3, 10.7.1.4, 10.8.1.5, 10.9.0.0
> Reporter: Myrna van Lunteren
> Assignee: Myrna van Lunteren
> Attachments: DERBY-5288_1.diff, join-threads.diff
>
>
> When attempting to run multiple suites.All runs at the same time, using a
> different location & jvm & a different value for
> -Dderby.tests.basePort, there are still a few tests that fail regularly.
> The first one is SecureServerTest.
> See also the discussion on this thread:
> http://osdir.com/ml/derby-dev-db-apache/2011-06/msg00337.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira