users@glassfish.java.net

RE: Re: JNI/CompositeApp/Glassfish

From: Martin, Ray <armart3_at_tycho.ncsc.mil>
Date: Thu, 28 May 2009 13:47:21 -0400

Thank you - I will give those a try.

-----Original Message-----
From: glassfish_at_javadesktop.org [mailto:glassfish_at_javadesktop.org]
Sent: Thursday, May 28, 2009 1:39 PM
To: users_at_glassfish.dev.java.net
Subject: Re: JNI/CompositeApp/Glassfish

Hi,

I suggest you try to find out what is eating your memory.
You could either create a heap dump with "jmap
-dump:format=b,file=dump.hprof <pid>" and analyze it with a heap dump
analyzer of your choice (e.g. VisualVM, Eclipse HeapDump Analyzer) or
you could issue a "jmap -histo:live <pid>" and take a look at the class
histogram.

You can find out the PID of the GlassFish process with "jps". The
process is called PELaunch.

HTH,
Chris
[Message sent by forum member 'chrjohn' (chrjohn)]

http://forums.java.net/jive/thread.jspa?messageID=348159

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
For additional commands, e-mail: users-help_at_glassfish.dev.java.net