jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <baerr...@gmail.com>
Subject Re: Out of memory error
Date Fri, 06 May 2011 21:40:16 GMT
On Sat, May 7, 2011 at 6:41 AM, Bruce Ide <flyingrhenquest@gmail.com> wrote:
> The jmeter startup script passes java its parameters for all that stuff.
> Edit that script and search for JVM_ARGS. You could try -Xmx1024m or
> -Xmx2048m if you have a few gigabytes of RAM to play with.
>
> Some listeners consume a lot of memory. If you have any "view results tree"
> listeners in your tests, try disabling those and see if you still have
> memory trouble.

Alternatively lower the stack size via -Xss (look up your java command
line docs).
Each thread creates a stack so NumThreads*StackSize = MemoryNeeded.

You need to tweak this so its big enough to run your app but small
enough you can run lots of threads.

---------------------------------------------------------------------
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