classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New bug-classpath mailinglist


From: Robert Lougher
Subject: Re: New bug-classpath mailinglist
Date: Sun, 19 Jun 2005 23:46:54 +0100

Hi,

> Sorry, I didn't mean it as a dig at JamVM and believed I had already
> mentioned this on list earlier.

Please have a dig at JamVM if there's a problem!  I wanted to know
what the problems were because it's Sunday, and I would have had a
chance to look at it, if it was a serious issue.  Unfortunately, from
the sounds of it, it's a long running problem...

> The problems I had (early this year --
> as I say, I haven't had chance to try again yet) were related to firstly
> missing methods in Classpath (java.nio constructors for the input and
> output streams being used, something I believe is now fixed) and then
> memory problems with JamVM.   It isn't so much a problem with JamVM, as
> the amount of memory used.  findbugs uses a lot of memory, and JamVM, I
> guess, doesn't garbage-collect it efficiently enough to avoid running
> out (a problem I've also seen with one of my own applications).  I
> repeatedly scaled up the memory given to JamVM, but failed to get a
> successful run of it with Classpath without running out.  At 512mb, it
> caused a kernel OOM.  It does work with smaller projects; it's a problem
> with large projects like Classpath, which has a huge number of classes
> (and even more now).

This is really interesting.  Because JamVM doesn't use handles, heap
compaction is tricky, and I haven't implemented it yet :)  My guess
would be that the allocation pattern is leading to particularly heavy
heap fragmentation, forcing heap expansion even when sufficient memory
is available.  I've read up on the algorithms and worked out a
modified Jonkers, but in the end I wasn't sure whether fragmentation
was a big enough issue in real-life, with 256Mb+ memories.  This
proves it is.

Thanks,

Rob.

> --
> Andrew :-)
> 
> Please avoid sending me Microsoft Office (e.g. Word, PowerPoint)
> attachments.
> See http://www.fsf.org/philosophy/no-word-attachments.html
> 
> No software patents in Europe -- http://nosoftwarepatents.com
> 
> "Value your freedom, or you will lose it, teaches history.
> `Don't bother us with politics' respond those who don't want to learn."
> -- Richard Stallman
> 
> Escape the Java Trap with GNU Classpath!
> http://www.gnu.org/philosophy/java-trap.html
> public class gcj extends Freedom implements Java { ... }
> 
> 
> 
> BodyID:185987680.2.n.logpart (stored separately)
> 
> _______________________________________________
> Classpath mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath
> 
> 
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]