You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Monga, Richa" <Ri...@nds.com> on 2009/03/25 07:09:54 UTC

RE: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.

Sorry for the late reply....View Results tree listener is on and Aggregate report is also on. Last message what I can see in view results tree listener is "Response Code:302".

How exactly jmeter put load on the server?
In my application log, I cant see any hit made to server by jmeter.
Can you pls explain?

Thanks,
Richa.

-----Original Message-----
From: Himanshu Ghai [mailto:himanshughai@gmail.com]
Sent: Tuesday, March 24, 2009 11:03 PM
To: JMeter Users List
Subject: Re: ERROR - jmeter.threads.JMeterThread: Test failed!java.lang.OutOfMemoryError: Java heap space.

I see that you ran the test for more than an hour before
you got the error..do you have view results tree listener on?
could you do with something like aggregate or
just writing log to disk and not viewing it?

view results tree is most common cause that I know of..

Himanshu

On Tue, Mar 24, 2009 at 5:05 AM, Monga, Richa <Ri...@nds.com> 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 postmaster@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
>

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 postmaster@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-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org