[jboss-remoting-commits] JBoss Remoting SVN: r4979 - remoting2/branches/2.2/src/tests/org/jboss/test/remoting/datatype.
jboss-remoting-commits at lists.jboss.org
jboss-remoting-commits at lists.jboss.org
Sun Apr 12 23:50:22 EDT 2009
Author: ron.sigal at jboss.com
Date: 2009-04-12 23:50:21 -0400 (Sun, 12 Apr 2009)
New Revision: 4979
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java
Log:
JBREM-1109: Reduced number of threads to 1000 to avoid "java.lang.OutOfMemoryError: unable to create new native thread".
Modified: remoting2/branches/2.2/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java
===================================================================
--- remoting2/branches/2.2/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java 2009-04-13 03:47:59 UTC (rev 4978)
+++ remoting2/branches/2.2/src/tests/org/jboss/test/remoting/datatype/DataTypeRaceTestCase.java 2009-04-13 03:50:21 UTC (rev 4979)
@@ -111,7 +111,7 @@
// Test datatype race.
MicroRemoteClientInvoker clientInvoker = (MicroRemoteClientInvoker) client.getInvoker();
- int THREADS = 2000;
+ int THREADS = 1000;
TestThread[] threads = new TestThread[THREADS];
Rendezvous startBarrier = new Rendezvous(THREADS);
Rendezvous stopBarrier = new Rendezvous(THREADS + 1);
More information about the jboss-remoting-commits
mailing list