You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Vola, Guillaume" <Gu...@mkms.xerox.com> on 2002/10/16 13:02:19 UTC

OutOfMemoryError during test perf

Test environment:
=============
-Remote testing
-JMeter 1.7.3
-JDK 1.3
-# threads = 100
-Loop = 10

How to avoid that sort of failure ?

host = 13.202.220.44 start = 13.202.220.44
Exception occurred during event dispatching:
java.lang.OutOfMemoryError
        <<no stack trace available>>
java.lang.OutOfMemoryError
        <<no stack trace available>>
java.lang.OutOfMemoryError
        <<no stack trace available>>

 <<askOnce connection.jmx>> 
--
Guillaume Vola
Project Leader - Quality Assurance & Support
XEROX Innovation Group / MKMS
6, chemin de Maupertuis 38240 Meylan
phone: +33 4 76 61 50 06
<http://www.mkms.xerox.com>


Re: OutOfMemoryError during test perf

Posted by Michal Kostrzewa <M....@pentacomp.com.pl>.
Hi,
I know about two issues related with outofmemory exception.

First, when you are running with GUI and listeners, after some time you will 
run out of memory, because listeners collects samples in memory. But you've 
said that's not your case (remote testing)

You've also said in previous mail that this happens only when increasing 
thread number. I think that's the reason - every thread wants some memory (it 
collects response data for some time) and system cannot give it to him. 
Did you try increasing -Xmx parameter in JVM?. Standard settings don't allow 
me to run even 60 threads... please edit you jmeter.bat (windows) or jmeter 
(linux) and make something like:

java -Xmx128mb -Xincgc .... and so on.

It will allow JVM to allocate more memory.

best regards
Michal Kostrzewa

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>