jmap

What do those strange class names in a java heap dump mean?

I'm trying to track down a memory leak in a java process, using jmap and jhat. Every time I do this I see those weird notation for specific object types, like [S for string arrays and [C for Character arrays. I never remember what means what, and it's very hard to google this stuff. (EDIT: to prove my point, it turns out that [S is arra...

Best Tool to collect Java process statistics and Explanation of JMAP

I am looking at collecting more detailed java statistics (in plain text format) i.e. statistics that the jstat command emits - like garbage collection data etc. Can anyone please suggest me the best tool to collect the java process statistics like jmap. EDIT Google gives me advise to use jmap with -histo:live option, but I am not able ...

Find current heap size with jmap

Hello I would like to find out what is the total heap size that is in use at a certain time by a Java process and I have to use jmap. The output of jmap -heap <pid> gives me something like this: Attaching to process ID 2899, please wait... Debugger attached successfully. Server compiler detected. JVM v...

Running jmap on javaw started from eclipse ?

Hi, Windows 7, JDK 1.5, Eclipse 3.5. C:\Users\User>java -version java version "1.6.0_18" Java(TM) SE Runtime Environment (build 1.6.0_18-b07) Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing) C:\Users\User>set | find "JAVA" JAVA_HOME=C:\tools\jdk1.6.0_18 Eclipse is running using JDK 1.5 Set Compliance level 1.5 Inst...

Can't dump heap on java process

Hi I have a java process which I want to debug. The problem with it is that it has too many open connections, so running jmap fails because it can't connect to process. Running jmap -F produces the next error: Attaching to process ID 1772, please wait... sun.jvm.hotspot.debugger.NoSuchSymbolException: Could not find symbol "gHotSpotVMTy...

Using JMAP on Sun WebServer 6.1 Instance

I have a webapp running on Sun One WebServer and I would like to use jmap to dump the heap space memory. When I list the processes running on my server, no java processes are listed, but only webservd processes (controlled by Sun WebServer). How do I use jmap with Sun WebServer 6.1 servers? I don't have access to the jvm's pid.... The ...