[kaffe] 1.1.0 on mips-linux - new JIT memory problem?
Helmer Krämer
hkraemer at freenet.de
Wed Jun 11 03:03:02 PDT 2003
On Wed, 11 Jun 2003 00:12:43 +0200
"Kevin D. Kissell" <kevink at mips.com> wrote:
> > could you do a
> >
> > kaffe -verbosegc -verbosemem at.dms.kjc.Main HelloWorldApp.java
> >
> > and put the memory stats up somewhere? It'd be interesting to see where the
> > leaks are coming from.
>
> Alas, all one gets is (after a long pause):
>
> [kevink at agena regression]$ kaffe -verbosegc -verbosemem at dms.kjc.Main HelloWorldApp.java
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/OutOfMemoryError
> at java.util.HashMap.rehash(HashMap.java:236)
> at java.util.HashMap.put(HashMap.java:136)
> at java.util.Hashtable.put(Hashtable.java:109)
> at java.lang.System.initProperties(System.java:native)
> at java.lang.System.<clinit>(System.java:43)
> at java.lang.ClassLoader.<init>(ClassLoader.java:114)
> at java.security.SecureClassLoader.<init>(SecureClassLoader.java:20)
> at kaffe.lang.AppClassLoader.<init>(AppClassLoader.java:238)
> at kaffe.lang.AppClassLoader.<clinit>(AppClassLoader.java:37)
> Aborted (core dumped)
>
> and a 48MB core file.
Sounds like fun, doesn't it :o) ?
What happens if you run kaffe with -vmdebug GCDIAG,GCFREE,GCSYSALLOC
(should produce loads of output)? If you try it again with the attached
patch applied, does that make matters a lot worse?
Greetings,
Helmer
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gc-patch.diff
Url: http://kaffe.org/pipermail/kaffe/attachments/20030611/2311062a/attachment-0002.txt
More information about the kaffe
mailing list