yourkit locks up when taking a snapshot

Questions about YourKit Java Profiler
Post Reply
blakesys
Posts: 2
Joined: Thu Jan 06, 2005 6:02 pm

yourkit locks up when taking a snapshot

Post by blakesys »

I've had yourkit lock up on me when trying to take a snapshot. This has happened several times ... typically when the process I am profiling has had several out of memory errors due to a leak that I am trying to track down. Once yourkit locks up, both the yourkit process and the process I am trying to analyze become non-responsive and I have to kill them both.

yourkit freezes with 1% on the capturing snapshot dialog.
Using windows XP
Using the sun jdk 1.4.2_5 (that comes with weblogic 8.1.4) for the process I am trying to analyze.

YourKit 4.0 EAP build 502
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

When the JVM is in OutOfMemory start it's not safe to capture snapshot. We'll try avoid locking of profiler UI in the next build
blakesys
Posts: 2
Joined: Thu Jan 06, 2005 6:02 pm

Post by blakesys »

of course this is the time I need the profiler the most! I've been using yourkit for a while trying to chase this leak, and it has been hard to find. Would you suggest I try and get the capture in while the process is leaking but before it has exhausted all the memory? :lol:
Vladimir Kondratyev
Posts: 1626
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Would you suggest I try and get the capture in while the process is leaking but before it has exhausted all the memory?
Exactly. Just try to capture snapshot before the JVM throws OOM exception.
Post Reply