Oracle’s jmap tool is pretty handy, particularly in histogram mode. But fair warning: each such probe will create a brief pause in the application. Pretty sure that’s true of all tools that use Java’s debug interfaces to analyze memory consumption.
Oracle’s jmap tool is pretty handy, particularly in histogram mode. But fair warning: each such probe will create a brief pause in the application. Pretty sure that’s true of all tools that use Java’s debug interfaces to analyze memory consumption.