From dev-return-18058-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon Nov 29 16:39:37 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 46084 invoked from network); 29 Nov 2010 16:39:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Nov 2010 16:39:36 -0000 Received: (qmail 81055 invoked by uid 500); 29 Nov 2010 16:39:36 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 80963 invoked by uid 500); 29 Nov 2010 16:39:35 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 80954 invoked by uid 99); 29 Nov 2010 16:39:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 16:39:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Nov 2010 16:39:32 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oATGdAOK002889 for ; Mon, 29 Nov 2010 16:39:11 GMT Message-ID: <32329543.2191291048750668.JavaMail.jira@thor> Date: Mon, 29 Nov 2010 11:39:10 -0500 (EST) From: "Mark Struberg (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-1898) TestQueryMultiThreaded fails with OOME "unable to create new native thread" 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 TestQueryMultiThreaded fails with OOME "unable to create new native thread" --------------------------------------------------------------------------- Key: OPENJPA-1898 URL: https://issues.apache.org/jira/browse/OPENJPA-1898 Project: OpenJPA Issue Type: Bug Affects Versions: 2.0.1 Reporter: Mark Struberg here comes the stacktrace: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start0(Native Method) at java.lang.Thread.start(Thread.java:597) at org.apache.openjpa.slice.TestQueryMultiThreaded.testHeavyLoad(TestQueryMultiThreaded.java:236) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at junit.framework.TestCase.runTest(TestCase.java:154) 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.