Hi
I did a search on Google in 5 minutes, it gives me the following useful
links
http://www.egilh.com/blog/archive/2006/06/09/2811.aspx
http://www.talkingtree.com/blog/index.cfm/2005/3/11/NewNativeThread
http://forum.java.sun.com/thread.jspa?threadID=605782&messageID=3360044
http://www.hp.com/products1/unix/java/infolibrary/prog_guide/configuration.html
So this is a Java / operating system issue.
Regards
Alf
jada wrote:
Here is some info of the system running JMeter:
Windows Server 2003
Physical RAM : 4GB (available RAM > 3GB)
I have made a very simple test plan to test with both JMeter 2.2 and 2.3RC3
Test Plan
|-- Thread Group ( Number of Threads: 3000, Ramp-Up Period: 1000, Loop
Count: 1 )
|-- HTTP Cookie Manager
|-- HTTP Request ( Server Name: www.apache.org, Method: GET, Path: / )
|-- Summary Report
The limit I set in jmeter.bat without introducing OutOfMemoryError is as
follows:
set HEAP=-Xms1072m -Xmx1072m
set NEW=-XX:NewSize=384m -XX:MaxNewSize=384m
If I set the HEAP a few Meg higher, the JMeter console would display error
in less than 2 sec after the test starts.
Exception in thread "Thread-3" java.lang.OutOfMemoryError: unable to create
new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:574)
at
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:400)
at java.lang.Thread.run(Thread.java:595)
I wonder why JMeter has such a limit even though the available physical RAM
is plenty.
It will take less than 5 minutes to set up the test if you would like to
investigate further.
Please advise. Thanks.
Jada
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]