jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Johnson <ans...@gmail.com>
Subject Re: Out of memory almost immediately after start
Date Mon, 28 Mar 2011 12:04:32 GMT
We just had a similar thread related to this, but the problem is that
Java itself does not have enough native memory left to create a
thread.

This is going to be related to your -Xmx -Xms settings and the amount
of threads that you are asking JMeter to run.

Try lowering your thread count, setting -Xms JVM setting and/or
lowering the -Xmx value to allow for more native memory.

Their are other tricks as well, but the ones above should get you back on track.

Good luck,

Anthony

On Mon, Mar 28, 2011 at 7:34 AM, Cor-Paul Bezemer <c.bezemer@tudelft.nl> wrote:
> I'm investigating a problem I have with one of my testcases and when I
> inspect the log file, I see the following happen:
>
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-2
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-6
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-8
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-10
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-1
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-4
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-3
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-5
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-7
> 2011/03/28 13:30:38 INFO  - jmeter.threads.JMeterThread: Thread started:
> Stepping Thread Group 1-9
> 2011/03/28 13:30:38 ERROR - jmeter.engine.StandardJMeterEngine: Uncaught
> exception:  java.lang.OutOfMemoryError: unable to create new native thread
>         at java.lang.Thread.start0(Native Method)
>         at java.lang.Thread.start(Unknown Source)
>         at
> org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:
> 484)
>         at java.lang.Thread.run(Unknown Source)
>
> So an outofmemory exception is thrown almost immediately after starting the
> tests... Does anyone have any idea what causes this?
> It doesn't really seem to affect the test run but I want to make sure it
> isn't.
>
> Thanks! CP
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message