[EAP 608] Not a valid snapshot file

Questions about YourKit Java Profiler
Post Reply
cs-public
Posts: 6
Joined: Sat May 28, 2005 2:47 am

[EAP 608] Not a valid snapshot file

Post by cs-public »

When I try to do "Capture Snapshot without allocation information", it apparently saves (judging from the progress bar), and asks me if I'd like to open the file, but then says:

Code: Select all

Error - YourKit Java Profiler 4.5 EAP build 608
/home/foo/2005-05-27--19-45-17.memory is not a valid snapshot file".
I've tried it several times, with and without a prefix, but to no avail.

My environment is:

Linux (2.6.11 kernel)
JDK 1.5.0.03
ReiserFS 3.6

The stderr output shows success ("[YourKit Java Profiler 4.5 EAP build 608] Memory snapshot is saved to /home/foo/2005-05-27--19-37-46.memory"), and the file was written:

Code: Select all

ls -l ~/2005-05-27--19-45-17.memory
-rw-r--r--  1 foo users 12964881 May 27 19:45 /home/foo/2005-05-27--19-45-17.memory
Please let me know if there is more info I can give you. This was a local application that I was monitoring.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Please upload ZIP archive of your invalid snapshot to our FTP server. It will help to locate to problem.

IP: 194.24.241.196
user: ftp
no password

Regards,
Vladimir
cs-public
Posts: 6
Joined: Sat May 28, 2005 2:47 am

Post by cs-public »

Vladimir Kondratyev wrote:Please upload ZIP archive of your invalid snapshot to our FTP server.
Uploaded as "invalid-memory-snapshot.zip".
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

Thank you very much for snapshot file. The bug is fixed in the upcoming build #610. As temporary workaround please do not use tracking of object allocations under Java 5.0.
Dyoma
Posts: 13
Joined: Tue Oct 19, 2004 8:13 am

Post by Dyoma »

I have the same problem (build #608) with JDK 1.5.0_02 running on WinXP. I don't record object allocations, just start application with profiller and capture snapshot.
When running my application with JDK 1.4.2_04 everything works fine.
Command line is generated by Idea plugin in both cases.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Post by Anton Katilin »

Fixed in the upcoming build #610
Post Reply