You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Ashik Uzzaman <as...@gmail.com> on 2008/10/24 01:39:22 UTC

How to use JMeter to Reproduce a PermGen Space OutOfMemory Issue

Hi Group,

I am new in this group and liked JMeter a lot.

I am facing a production issue that I am unable to reproduce in my internal
DEV environment easily. To reproduce it, I installed JMeter and so far it's
graph results tell me the usage which is good for a high number of users.
But the graph doesn't tell me exactly how much PermGen space the server is
using. So I will use a Monitor Thread but that only will tell me the total
memory usage and not the PermGen space usage. Is there any way I can monitor
or see what's the current permgen space consumed?

By looking into the PermGen space, I will be able to fine tune the exact
number of concurrent users. locales, iterations to generate the PermGen
Space OOM issue.

Any help will be appreciated.

-- Ashik

RE: How to use JMeter to Reproduce a PermGen Space OutOfMemory Issue

Posted by "Turkel, David" <dt...@acumensolutions.com>.
Looks like someone contributed a patch to add a JMX Sampler.

https://issues.apache.org/bugzilla/show_bug.cgi?id=39642

Can't speak to how well it works-- looked like Sebb had some comments
about it.  If you can get away with just monitoring from the outside as
the test(s) run, I say keep it simple and go with that.

Dave

-----Original Message-----
From: Ashik Uzzaman [mailto:ashik.sf@gmail.com] 
Sent: Thursday, October 23, 2008 7:39 PM
To: jmeter-user@jakarta.apache.org
Subject: How to use JMeter to Reproduce a PermGen Space OutOfMemory
Issue

Hi Group,

I am new in this group and liked JMeter a lot.

I am facing a production issue that I am unable to reproduce in my
internal
DEV environment easily. To reproduce it, I installed JMeter and so far
it's
graph results tell me the usage which is good for a high number of
users.
But the graph doesn't tell me exactly how much PermGen space the server
is
using. So I will use a Monitor Thread but that only will tell me the
total
memory usage and not the PermGen space usage. Is there any way I can
monitor
or see what's the current permgen space consumed?

By looking into the PermGen space, I will be able to fine tune the exact
number of concurrent users. locales, iterations to generate the PermGen
Space OOM issue.

Any help will be appreciated.

-- Ashik

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