You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by geetat <ge...@yahoo.com> on 2009/08/07 10:51:40 UTC

Jmeter+ ant script:"OutOfMemoryError" while trying with 2500user/10second

we are trying to run j meter for 4-5 hours. While testing our application
with jmeter and ant script: use 2500user/10seconds: test fails.

BUILD FAILED
Fatal error during transformation
errors: [jmeter] java.lang.OutOfMemoryError: Java heap space

when we work with 2000user/10seconds this works fine? can anybody suggest
how to resolve this?
-- 
View this message in context: http://www.nabble.com/Jmeter%2B-ant-script%3A%22OutOfMemoryError%22-while-trying-with-2500user-10second-tp24861182p24861182.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Jmeter+ ant script:"OutOfMemoryError" while trying with 2500user/10second

Posted by Deepak Shetty <sh...@gmail.com>.
And in addition disable any listeners that you dont need (e.g. View Results
tree takes a lot of memory). Also are you running in non gui mode? Finally
you could increase the heap memory to a larger value (if you have RAM to
spare on your machine)
There should be a line
set HEAP=-Xms512m -Xmx512m
in jmeter.bat
you can increase the Xmx value (again constrained by how much you have free
on the machine
regards
deepak


On Fri, Aug 7, 2009 at 2:46 AM, Adrian Speteanu <as...@gmail.com> wrote:

> sorry about that, I wasn't clear. you need to establish how many users
> are enough on your machine. and to reach 2500 users as much as you
> need, you have to distribute the test-load.
>
>
> On Fri, Aug 7, 2009 at 12:44 PM, Adrian Speteanu<as...@gmail.com>
> wrote:
> > heap memory refers to ram memory.
> >
> > the fact that this happens for 1000 users and not for 200 users means
> > that your machine can cope with only 200 users for this test plan,
> > thus you need to distribute the load on 5 machines.
> > check this out:
> http://jakarta.apache.org/jmeter/usermanual/remote-test.html
> >
> > On Fri, Aug 7, 2009 at 12:02 PM, M.Vijaya
> > Bhaskar<vi...@sigmainfo.net> wrote:
> >> Hi Geeta,
> >>
> >>
> >> As per my Knowledge, while running the Jmeter script it is creating log
> >> files in the server. so remove the log files or in crease your server
> disk
> >> space.
> >>
> >>
> >> Thanks
> >> Vijay
> >>
> >>
> >>
> >>
> >> On Fri, Aug 7, 2009 at 2:21 PM, geetat <ge...@yahoo.com> wrote:
> >>
> >>>
> >>> we are trying to run j meter for 4-5 hours. While testing our
> application
> >>> with jmeter and ant script: use 2500user/10seconds: test fails.
> >>>
> >>> BUILD FAILED
> >>> Fatal error during transformation
> >>> errors: [jmeter] java.lang.OutOfMemoryError: Java heap space
> >>>
> >>> when we work with 2000user/10seconds this works fine? can anybody
> suggest
> >>> how to resolve this?
> >>> --
> >>> View this message in context:
> >>>
> http://www.nabble.com/Jmeter%2B-ant-script%3A%22OutOfMemoryError%22-while-trying-with-2500user-10second-tp24861182p24861182.html
> >>> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> >>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >>>
> >>>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Re: Jmeter+ ant script:"OutOfMemoryError" while trying with 2500user/10second

Posted by Adrian Speteanu <as...@gmail.com>.
sorry about that, I wasn't clear. you need to establish how many users
are enough on your machine. and to reach 2500 users as much as you
need, you have to distribute the test-load.


On Fri, Aug 7, 2009 at 12:44 PM, Adrian Speteanu<as...@gmail.com> wrote:
> heap memory refers to ram memory.
>
> the fact that this happens for 1000 users and not for 200 users means
> that your machine can cope with only 200 users for this test plan,
> thus you need to distribute the load on 5 machines.
> check this out: http://jakarta.apache.org/jmeter/usermanual/remote-test.html
>
> On Fri, Aug 7, 2009 at 12:02 PM, M.Vijaya
> Bhaskar<vi...@sigmainfo.net> wrote:
>> Hi Geeta,
>>
>>
>> As per my Knowledge, while running the Jmeter script it is creating log
>> files in the server. so remove the log files or in crease your server disk
>> space.
>>
>>
>> Thanks
>> Vijay
>>
>>
>>
>>
>> On Fri, Aug 7, 2009 at 2:21 PM, geetat <ge...@yahoo.com> wrote:
>>
>>>
>>> we are trying to run j meter for 4-5 hours. While testing our application
>>> with jmeter and ant script: use 2500user/10seconds: test fails.
>>>
>>> BUILD FAILED
>>> Fatal error during transformation
>>> errors: [jmeter] java.lang.OutOfMemoryError: Java heap space
>>>
>>> when we work with 2000user/10seconds this works fine? can anybody suggest
>>> how to resolve this?
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Jmeter%2B-ant-script%3A%22OutOfMemoryError%22-while-trying-with-2500user-10second-tp24861182p24861182.html
>>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>>
>>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Jmeter+ ant script:"OutOfMemoryError" while trying with 2500user/10second

Posted by Adrian Speteanu <as...@gmail.com>.
heap memory refers to ram memory.

the fact that this happens for 1000 users and not for 200 users means
that your machine can cope with only 200 users for this test plan,
thus you need to distribute the load on 5 machines.
check this out: http://jakarta.apache.org/jmeter/usermanual/remote-test.html

On Fri, Aug 7, 2009 at 12:02 PM, M.Vijaya
Bhaskar<vi...@sigmainfo.net> wrote:
> Hi Geeta,
>
>
> As per my Knowledge, while running the Jmeter script it is creating log
> files in the server. so remove the log files or in crease your server disk
> space.
>
>
> Thanks
> Vijay
>
>
>
>
> On Fri, Aug 7, 2009 at 2:21 PM, geetat <ge...@yahoo.com> wrote:
>
>>
>> we are trying to run j meter for 4-5 hours. While testing our application
>> with jmeter and ant script: use 2500user/10seconds: test fails.
>>
>> BUILD FAILED
>> Fatal error during transformation
>> errors: [jmeter] java.lang.OutOfMemoryError: Java heap space
>>
>> when we work with 2000user/10seconds this works fine? can anybody suggest
>> how to resolve this?
>> --
>> View this message in context:
>> http://www.nabble.com/Jmeter%2B-ant-script%3A%22OutOfMemoryError%22-while-trying-with-2500user-10second-tp24861182p24861182.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>>
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Re: Jmeter+ ant script:"OutOfMemoryError" while trying with 2500user/10second

Posted by "M.Vijaya Bhaskar" <vi...@sigmainfo.net>.
Hi Geeta,


As per my Knowledge, while running the Jmeter script it is creating log
files in the server. so remove the log files or in crease your server disk
space.


Thanks
Vijay




On Fri, Aug 7, 2009 at 2:21 PM, geetat <ge...@yahoo.com> wrote:

>
> we are trying to run j meter for 4-5 hours. While testing our application
> with jmeter and ant script: use 2500user/10seconds: test fails.
>
> BUILD FAILED
> Fatal error during transformation
> errors: [jmeter] java.lang.OutOfMemoryError: Java heap space
>
> when we work with 2000user/10seconds this works fine? can anybody suggest
> how to resolve this?
> --
> View this message in context:
> http://www.nabble.com/Jmeter%2B-ant-script%3A%22OutOfMemoryError%22-while-trying-with-2500user-10second-tp24861182p24861182.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>