http://jakarta.apache.org/jmeter/usermanual/best-practices.html#lean_mean
On 26/03/2009, Monga, Richa <ric...@nds.com> wrote: > Increased the Heap size in jmeter-report...still it runs 25 threads for an > hour. But I want to run it at least for 5 days. I have selected Loop Count as > Forever. > Is it possible? > > > -----Original Message----- > From: nivaskona [mailto:srinivasuk...@gmail.com] > Sent: Thursday, March 26, 2009 10:12 AM > To: jmeter-user@jakarta.apache.org > Subject: Re: ERROR - jmeter.threads.JMeterThread: Test > failed!java.lang.OutOfMemoryError: Java heap space. > > > Hi, > > Increase the Heap size in JMeter-report. > You can find JMeter-report file in bin folder. > > OR > > If u running the script for Long time Disable Debug Logs. > > > Monga, Richa wrote: > > > > Hi, > > > > > > I'm first time user of jmeter. > > Jmeter 2.3.2 > > Im facing the follwoing error: ERROR - jmeter.threads.JMeterThread: Test > > failed!java.lang.OutOfMemoryError: Java heap space. > > I have set heap size as 1024MB max. > > What is the basic requirement for Physical memory? > > Am I missing some configuration? > > If someone can assist me, That will be great > > > > 2009/03/24 15:02:18 INFO - jmeter.util.JMeterUtils: Setting Locale to > > en_US > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading user properties from: > > C:\Documents and Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\user.properties > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loading system properties from: > > C:\Documents and Settings\richam\My > > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin\system.properties > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Copyright (c) 1998-2008 The > > Apache Software Foundation > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Version 2.3.2 r665936 > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.version=1.5.0_06 > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) > > Client VM > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.name=Windows XP > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.arch=x86 > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: os.version=5.1 > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: file.encoding=Cp1252 > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Default Locale=English (United > > States) > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeter Locale=English (United > > States) > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: JMeterHome=C:\Documents and > > Settings\richam\My > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2 > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: user.dir =C:\Documents and > > Settings\richam\My > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: PWD =C:\Documents and > > Settings\richam\My > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: IP: 10.201.46.159 Name: RichaM > > FullName: RichaM.in.nds.com > > 2009/03/24 15:02:19 INFO - jmeter.JMeter: Loaded icon properties from > > org/apache/jmeter/images/icon.properties > > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > > Function class names must contain the string: '.functions.' > > 2009/03/24 15:02:26 INFO - jmeter.engine.util.CompoundVariable: Note: > > Function class names must not contain the string: '.gui.' > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > > Cannot find .className property for htmlParser, using default > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > > Parser for text/html is > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > > Parser for application/xhtml+xml is > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > > Parser for application/xml is > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > > Parser for text/xml is > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: > > Parser for text/vnd.wap.wml is > > org.apache.jmeter.protocol.http.parser.RegexpHTMLParser > > 2009/03/24 15:02:28 INFO - jmeter.gui.util.MenuFactory: Skipping > > org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui > > 2009/03/24 15:02:28 INFO - jmeter.gui.util.MenuFactory: Skipping > > org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui > > 2009/03/24 15:02:28 INFO - jmeter.protocol.http.sampler.HTTPSampler: > > Maximum connection retries = 10 > > 2009/03/24 15:02:29 WARN - jmeter.gui.util.MenuFactory: Missing jar? > > Could not create org.apache.jmeter.visualizers.MailerVisualizer. > > java.lang.NoClassDefFoundError: javax/mail/MessagingException > > 2009/03/24 15:02:29 INFO - jmeter.samplers.SampleResult: Note: Sample > > TimeStamps are START times > > 2009/03/24 15:02:29 INFO - jmeter.samplers.SampleResult: > > sampleresult.default.encoding is set to ISO-8859-1 > > 2009/03/24 15:02:52 INFO - jmeter.services.FileServer: Default > > base=C:\Documents and Settings\richam\My > > Documents\Downloads\jakarta-jmeter-2.3.2\jakarta-jmeter-2.3.2\bin > > 2009/03/24 15:02:52 INFO - jmeter.gui.action.Load: Loading file: > > C:\Jmeter\bin\test\example1.jmx > > 2009/03/24 15:02:52 INFO - jmeter.services.FileServer: Set new > > base=C:\Jmeter\bin\test > > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: Testplan (JMX) > > version: 2.2. Testlog (JTL) version: 2.2 > > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: Using SaveService > > properties file encoding UTF-8 > > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: Using SaveService > > properties file version 661482 > > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: Using SaveService > > properties version 2.1 > > 2009/03/24 15:02:52 INFO - jmeter.save.SaveService: All converter > > versions present and correct > > 2009/03/24 15:02:52 INFO - jmeter.services.FileServer: Set new > > base=C:\Jmeter\bin\test > > 2009/03/24 15:03:04 INFO - jmeter.engine.StandardJMeterEngine: Listeners > > will be started after enabling running version > > 2009/03/24 15:03:04 INFO - jmeter.engine.StandardJMeterEngine: To revert > > to the earlier behaviour, define jmeterengine.startlistenerslater=false > > 2009/03/24 15:03:04 INFO - jmeter.engine.StandardJMeterEngine: Running > > the test! > > 2009/03/24 15:03:04 INFO - jmeter.gui.util.JMeterMenuBar: > > setRunning(true,*local*) > > 2009/03/24 15:03:04 INFO - jmeter.engine.StandardJMeterEngine: Starting 5 > > threads for group Thread Group. Ramp up = 1. > > 2009/03/24 15:03:04 INFO - jmeter.engine.StandardJMeterEngine: Continue > > on error > > 2009/03/24 15:03:04 INFO - jmeter.threads.JMeterThread: > > jmeterthread.startearlier=true (see jmeter.properties) > > 2009/03/24 15:03:04 INFO - jmeter.threads.JMeterThread: Running > > PostProcessors in forward order > > 2009/03/24 15:03:04 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-1 started > > 2009/03/24 15:03:05 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-2 started > > 2009/03/24 15:03:05 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-3 started > > 2009/03/24 15:03:05 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-4 started > > 2009/03/24 15:03:05 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-5 started > > 2009/03/24 16:07:59 ERROR - jmeter.threads.JMeterThread: Test failed! > > java.lang.OutOfMemoryError: Java heap space > > > > 2009/03/24 16:07:59 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-3 is done > > 2009/03/24 16:07:59 INFO - jmeter.engine.StandardJMeterEngine: Ending > > thread Thread Group 1-3 > > 2009/03/24 16:08:07 ERROR - jmeter.threads.JMeterThread: Test failed! > > java.lang.OutOfMemoryError: Java heap space > > > > 2009/03/24 16:08:07 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-1 is done > > 2009/03/24 16:08:07 INFO - jmeter.engine.StandardJMeterEngine: Ending > > thread Thread Group 1-1 > > 2009/03/24 16:08:21 ERROR - jmeter.threads.JMeterThread: Test failed! > > java.lang.OutOfMemoryError: Java heap space > > > > 2009/03/24 16:08:21 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-4 is done > > 2009/03/24 16:08:21 INFO - jmeter.engine.StandardJMeterEngine: Ending > > thread Thread Group 1-4 > > 2009/03/24 16:08:59 ERROR - jmeter.threads.JMeterThread: Test failed! > > java.lang.OutOfMemoryError: Java heap space > > > > 2009/03/24 16:08:59 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-5 is done > > 2009/03/24 16:08:59 INFO - jmeter.engine.StandardJMeterEngine: Ending > > thread Thread Group 1-5 > > 2009/03/24 16:12:51 ERROR - jmeter.threads.JMeterThread: Test failed! > > java.lang.OutOfMemoryError: Java heap space > > > > 2009/03/24 16:12:51 INFO - jmeter.threads.JMeterThread: Thread Thread > > Group 1-2 is done > > 2009/03/24 16:12:51 INFO - jmeter.engine.StandardJMeterEngine: Ending > > thread Thread Group 1-2 > > 2009/03/24 16:12:51 INFO - jmeter.engine.StandardJMeterEngine: Stopping > > test > > 2009/03/24 16:12:51 INFO - jmeter.engine.StandardJMeterEngine: Notifying > > test listeners of end of test > > 2009/03/24 16:12:51 INFO - jmeter.gui.util.JMeterMenuBar: > > setRunning(false,*local*) > > 2009/03/24 16:12:51 INFO - jmeter.engine.StandardJMeterEngine: Test has > > ended > > > > Regards, > > Richa > > > > ________________________________ > > This e-mail is confidential, the property of NDS Ltd and intended for the > > addressee only. Any dissemination, copying or distribution of this message > > or any attachments by anyone other than the intended recipient is strictly > > prohibited. If you have received this message in error, please immediately > > notify the postmas...@nds.com and destroy the original message. Messages > > sent to and from NDS may be monitored. NDS cannot guarantee any message > > delivery method is secure or error-free. Information could be intercepted, > > corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. > > We do not accept responsibility for any errors or omissions in this > > message and/or attachment that arise as a result of transmission. You > > should carry out your own virus checks before opening any attachment. Any > > views or opinions presented are solely those of the author and do not > > necessarily represent those of NDS. > > > > To protect the environment please do not print this e-mail unless > > necessary. > > > > NDS Limited Registered Office: One London Road, Staines,Middlesex TW18 > > 4EX, United Kingdom. A company registered in England and Wales Registered > > no. 3080780 VAT no. GB 603 8808 40-00 > > > > > > -- > View this message in context: > http://www.nabble.com/ERROR---jmeter.threads.JMeterThread%3A-Test-failed%21java.lang.OutOfMemoryError%3A-Java-heap-space.-tp22679079p22715911.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > > This e-mail is confidential, the property of NDS Ltd and intended for the > addressee only. Any dissemination, copying or distribution of this message or > any attachments by anyone other than the intended recipient is strictly > prohibited. If you have received this message in error, please immediately > notify the postmas...@nds.com and destroy the original message. Messages sent > to and from NDS may be monitored. NDS cannot guarantee any message delivery > method is secure or error-free. Information could be intercepted, corrupted, > lost, destroyed, arrive late or incomplete, or contain viruses. We do not > accept responsibility for any errors or omissions in this message and/or > attachment that arise as a result of transmission. You should carry out your > own virus checks before opening any attachment. Any views or opinions > presented are solely those of the author and do not necessarily represent > those of NDS. > > To protect the environment please do not print this e-mail unless necessary. > > NDS Limited Registered Office: One London Road, Staines,Middlesex TW18 4EX, > United Kingdom. A company registered in England and Wales Registered no. > 3080780 VAT no. GB 603 8808 40-00 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org