You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Chen, Song" <ch...@amazon.com> on 2007/04/16 06:10:24 UTC

thread not finish normal

Hi,
  I have my test thread group with thread 10, and set the run duration
to 300 seconds. But when i run the test, found each time after about
only 70s, the thread stopped one by one.
  Then in jmeter.log i found a error message 

ERROR - jmeter.threads.JMeterThread: Test failed!
java.lang.OutOfMemoryError: Java heap space 

  The setting is using default "set HEAP=-Xms256m -Xmx256m". Then I
tried to increase it in the starting file, change it to
set HEAP=-Xms512m -Xmx512m
  and this time it can run more times, but still stoped with same error
after about 4 minutes.

What's the possible reason of this?


Thanks

Chen Song



答复: thread not finish normal

Posted by "Chen, Song" <ch...@amazon.com>.
The JVM is 1.5.0_07.

And yes, less listener makes it work ok, even with heap only 256 


Thanks

Chen Song


-----邮件原件-----
发件人: sebb [mailto:sebbaz@gmail.com] 
发送时间: 2007年4月16日 18:59
收件人: JMeter Users List
主题: Re: thread not finish normal

Try disabling all the non-essential items such as listeners and assertions, and adding them back in one at a time.

What JVM are you using? Perhaps try updating to the latest revision of that version.


On 16/04/07, Chen, Song <ch...@amazon.com> wrote:
> Hi,
>  I have my test thread group with thread 10, and set the run duration 
> to 300 seconds. But when i run the test, found each time after about 
> only 70s, the thread stopped one by one.
>  Then in jmeter.log i found a error message
>
> ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.OutOfMemoryError: Java heap space
>
>  The setting is using default "set HEAP=-Xms256m -Xmx256m". Then I 
> tried to increase it in the starting file, change it to set 
> HEAP=-Xms512m -Xmx512m  and this time it can run more times, but still 
> stoped with same error after about 4 minutes.
>
> What's the possible reason of this?
>
>
> Thanks
>
> Chen Song
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: thread not finish normal

Posted by sebb <se...@gmail.com>.
Try disabling all the non-essential items such as listeners and
assertions, and adding them back in one at a time.

What JVM are you using? Perhaps try updating to the latest revision of
that version.


On 16/04/07, Chen, Song <ch...@amazon.com> wrote:
> Hi,
>  I have my test thread group with thread 10, and set the run duration
> to 300 seconds. But when i run the test, found each time after about
> only 70s, the thread stopped one by one.
>  Then in jmeter.log i found a error message
>
> ERROR - jmeter.threads.JMeterThread: Test failed!
> java.lang.OutOfMemoryError: Java heap space
>
>  The setting is using default "set HEAP=-Xms256m -Xmx256m". Then I
> tried to increase it in the starting file, change it to
> set HEAP=-Xms512m -Xmx512m
>  and this time it can run more times, but still stoped with same error
> after about 4 minutes.
>
> What's the possible reason of this?
>
>
> Thanks
>
> Chen Song
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org