Date: 2004-08-31T11:16:18
   Editor: MichaelStover <[EMAIL PROTECTED]>
   Wiki: Apache JMeter Wiki
   Page: JMeterFAQ
   URL: http://wiki.apache.org/jakarta-jmeter/JMeterFAQ

   Adding question regarding out of memory errors

Change Log:

------------------------------------------------------------------------------
@@ -260,5 +260,11 @@
 
 To use the JMeter Monitor for IBM WAS5.0, you will need to port the status servlet 
from Tomcat5 to WAS. Your other option is to write your own status servlet and output 
the data in the correct format. Tomcat5 includes the schema for the status data. If 
you have any further question, feel free to email the jmeter-user mailing list.
 
- 
+== JMeter keeps getting "Out of Memory" errors.  What can I do? ==
 
+This is usually caused by including memory intensive listeners in your stress test.  
Listeners like "View Tree Results" are useful for debugging your test, but they are 
too memory intensive to remain in your test when you ramp up the number of simulated 
users and iterations.  The best listeners to use for a long-term, high-load test are 
Aggregate Listener, Graph Listener, and Spline Listener.
+
+In addition, you can instruct the JVM to use more memory by editing the 
jmeter/jmeter.bat files for linux/windows.  Within these files, find a section that 
sets values for the Heap:
+ set HEAP=-Xms256m -Xmx256m
+
+Feel free to change these values.  Xms indicates the starting RAM the jvm will take, 
and Xmx will be the maximum it is allowed (for the HEAP).

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to