users@glassfish.java.net

Re: JNI/CompositeApp/Glassfish

From: <glassfish_at_javadesktop.org>
Date: Thu, 28 May 2009 10:39:08 PDT

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