Actually I just want to tune the JVM settings for JMeter. A simple test plan
is for illustration purpose only.

It's not the test results that I'm concerned. It's the OutOfMemoryError
message on the JMeter console that does not make sense when you increase the
HEAP size.

Now I understand it has a limit depending on the OS and JMeter
implementation may not have anything to do with it.

Thanks.



sebb-2 wrote:
> 
> On 02/09/07, jada <[EMAIL PROTECTED]> 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 )
> 
> I expect you know this, but this is not a sensible test scenario.
> With these settings, only a few threads will ever be active at any one
> time, and short-lived threads are unlikely to generate meaningful
> statistics.
> 
>>    |-- HTTP Cookie Manager
>>    |-- HTTP Request ( Server Name: www.apache.org, Method: GET, Path: / )
> 
> [For running stress tests, please consider the effect on the server,
> and preferably use one you own...]
> 
> 
>>    |-- 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
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/OutOfMemoryError-tf4348833.html#a12445760
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/OutOfMemoryError-tf4348833.html#a12447842
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to