Questions tagged [hprof]

A java heap/CPU profiling tool

142 questions
0
votes
1 answer

Comparing "objects allocated" in a JVisualVM snapshot to number of instances in a Java heap dump

I was using JVisualVM to look at an application, and I saw many objects of SomeDomainClass in the memory profiler and snapshot. A Java heap dump (.hprof file) produced shortly thereafter contained no instances of SomeDomainClass. Because the…
kc2001
  • 5,008
  • 4
  • 51
  • 92
0
votes
1 answer

HPROF result interpretation

I have two sets of HProf dumps one for large sample and other for smaller sample - both are result from a very small sample of the huge data that I have. I'm trying to figure out the bottleneck in my approach. Here are my Heap allocation data for…
Learner
  • 1,685
  • 6
  • 30
  • 42
0
votes
1 answer

My android application memory usage too large (as reported by memory managers)

I have a Live Wallpaper app that uses photos downloaded from web to use as a wallpaper. Memory managers show that my app is using between 90MB and 120MB (it's a device with 1GB RAM). That is a lot. Wallpaper service get's killed often, and…
CloudWalker
  • 313
  • 4
  • 12
0
votes
1 answer

Is there a Java Component equivalent to C# Control IsDisposed?

I'm looking through some hprof's, trying to find a memory leak. My code saves references to Java Components from a target application I'm building upon. Using Eclipse MAT I can see some of these Components are referenced by my code alone. I'd like…
Paul MacGuiheen
  • 628
  • 5
  • 17
0
votes
1 answer

How do i get a hprof on a Citrix server?

I need to capture a hprof for a Java app that is running on Citrix. So the process is on the server but the UI is on the client machine. I can attach to the javaw.exe on the server, using VisualVM, but i am unable to capture a heap dump (gives me…
Paul MacGuiheen
  • 628
  • 5
  • 17
0
votes
2 answers

How do I get multiple hprof dumps in a Java WebStart (JNLP) application?

Working with a Java console application, I can do this: java -agentlib:hprof=heap=dump,format=b MyClass Then I can hit ctrl-\ (or ctrl-break on Windows) any time I would like to take a snapshot of the heap for later analysis. I would like to do the…
skiphoppy
  • 97,646
  • 72
  • 174
  • 218
0
votes
2 answers

How to measure cpu over-head introduced by the hprof profiler attached to a jvm

I'm running IBM's jvm (jdk 5.0) with the options -XrunHprof:format=b I'm aware that instrumenting jvm with hprof involves a performance penality. I would like to quantify that penality. I know that one way to do this is to take off the hprof…
user39732
  • 195
  • 1
  • 3
  • 7
1 2 3
9
10