When I try to take a memory snapshot on a 1.4.2 JVM running on solaris with approximately 800mb in-use memory (1.5gb max heap size), YourKit generated an approximately 2gb file that reports "... is not a valid snapshot file" when I try to load it.
I have managed to load a snapshot if I take it when the heap is only at ~600Mb (the snapshot is ~1.4gb in size at this point in time).
Are there any tricks to taking a snapshot of a larger heap with a 32-bit jvm?
Moving to the 1.5jvm is not an option at this point in time.
memory snapshot for 800mb heap saves as invalid 2gb file
-
- Posts: 2
- Joined: Fri Jan 27, 2006 12:15 am
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
-
- Posts: 2
- Joined: Fri Jan 27, 2006 12:15 am
Profiler version: 5.0.9 build 692
Java version: 1.4.2_06-b03
Yes, in this case the profiled application continued to work after the snapshot.
On a related topic, what is the largest (filled) heap size I _should_ be able to take a snapshot of (and load) (on Solaris, 32-bit jre)? I have done 600mb successfully, failed at 800 (as per this thread) - how far should I be able to go?
Thanks.
Java version: 1.4.2_06-b03
Yes, in this case the profiled application continued to work after the snapshot.
On a related topic, what is the largest (filled) heap size I _should_ be able to take a snapshot of (and load) (on Solaris, 32-bit jre)? I have done 600mb successfully, failed at 800 (as per this thread) - how far should I be able to go?
Thanks.
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Couldn't you please try EAP version http://www.yourkit.com/eap/download.jsp. If the problem persists please upload ZIPPed snapshot file to our FTP server. Here is a connection parameters:
ftp://194.24.241.196
user: ftp
empty password
This file will help a lot to find a problem.
Regards,
Vladimir
ftp://194.24.241.196
user: ftp
empty password
This file will help a lot to find a problem.
Regards,
Vladimir