hprof Questions

1

Solved

As has been detailed by many helpful sites, one way to analyze memory usage of Android apps is to execute a "kill -10 [PID]" to trigger an HPROF dump. This seems to work on some devices, and the lo...
Trisa asked 12/4, 2011 at 18:56

2

Solved

I start my java code (1.6.0_16 in Vista) with the following params (among others) -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../logs. I run the code and I can see in the logs there are two OO...
Resnatron asked 5/10, 2009 at 8:31

3

Solved

I have been benchmarked my multihreaded program using -agentlib:hprof=cpu=samples and was surprised to find the following line in the results: rank self accum count trace method 1 52.88% 52.88% 8...
Stedfast asked 26/6, 2010 at 16:51

4

What tools are available to view the output of the built-in JVM profiler? For example, I'm starting my JVM with: -agentlib:hprof=cpu=times,thread=y,cutoff=0,format=a,file=someFile.hprof.txt This...
Gadoid asked 1/4, 2009 at 22:33

2

VisualVM crashes when I try to profile our application with it, but if I could load the jmap memory dumps I've done from our application into VisualVM, I could probably get the answers I need witho...
Waldgrave asked 14/8, 2009 at 18:26

© 2022 - 2024 — McMap. All rights reserved.