openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (JIRA)" <>
Subject [jira] Created: (OPENJPA-1898) TestQueryMultiThreaded fails with OOME "unable to create new native thread"
Date Mon, 29 Nov 2010 16:39:10 GMT
TestQueryMultiThreaded fails with OOME "unable to create new native thread"

                 Key: OPENJPA-1898
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Mark Struberg

here comes the stacktrace:
<error message="unable to create new native thread" type="java.lang.OutOfMemoryError">java.lang.OutOfMemoryError:
unable to create new native thread
        at java.lang.Thread.start0(Native Method)
        at java.lang.Thread.start(
        at org.apache.openjpa.slice.TestQueryMultiThreaded.testHeavyLoad(
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at junit.framework.TestCase.runTest(

reducing the thread count to 800 should help to prevent this problem. This might be caused
to the 1024 processes ulimit on most linux installations.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message