OutOfMemoryError

Questions about YourKit Java Profiler
Post Reply
leni
Posts: 1
Joined: Wed Dec 22, 2004 11:16 am

OutOfMemoryError

Post by leni »

Hi,

I tried to save a report of GC-roots (Direct) for about 7000 objects to html, but get a OutOfMemoryError.

Build: 451
JDK: 1.5.0
VM: Java HotSpot(TM) Client VM
Vendor: Sun Microsystems Inc.
OS: Windows XP
java.lang.OutOfMemoryError: Java heap space

I started yjp with the commandline with

java -Xms7500000 -jar yjp.jar

but that doesn't help. Any ideas?
Thanks,
Daniel Frey
Vladimir Kondratyev
Posts: 1625
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

1) How many objects in the snapshot?
2) What is the size of snapshot file?
rmcmahon
Posts: 7
Joined: Thu Dec 02, 2004 5:11 pm

Post by rmcmahon »

I too am getting out-of-memory conditions (3.11 and 3.2).
My memory dump is 105Mb, it contains 1,628,595 objects.
Vladimir Kondratyev
Posts: 1625
Joined: Tue Aug 10, 2004 7:52 pm

Post by Vladimir Kondratyev »

It looks like a bug. -Xms is initial heap size, so it doesn't have any affect. Please ZIP your snapshot and upload it to our FTP server. It will help us a lot to find a problem.

Here is connection parameters:

host: 194.24.241.196
username: ftp
password: no password
Post Reply