How to find memory leak/consumption using JProfiler in offline mode?

How to find memory leak/consumption using JProfiler in offline mode on Linux production machine?

Thanks.

Upvotes: 1

Views: 1097

Answers (1)

Ingo Kegel
Ingo Kegel

Reputation: 48035

Memory leaks are analyzed in the heap walker. Regardless of offline mode or not, you have to save a heap dump at some point. In offline mode this is done with a "Trigger heap dump" trigger action.

You can also use the "jpdump" command line utility to get an HPROF heap dump from a JVM where the JProfiler agent is not loaded at all.

Upvotes: 1

Related Questions