On Sat, May 7, 2011 at 6:41 AM, Bruce Ide <flyingrhenqu...@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-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org