This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: 'Needed to allocate blacklisted block at 0x829d000' ?????
Barnet Wagman wrote:
> I have an elementary question (which I probably should have asked first).
> Does a gcj compiled program have a maximum heap size, like the jvm (at least in
> the implementations I'm familiar with)? Or can it grab as much memory as is
> available? If the former, is there a way of setting that max, other than
> running compiled classes with gij? (I assume that using gij slows things down
> - is that correct?)
Just to clarify, the Boehm GC certainly does support initial and maximum
heap sizes, though they are not specified for ordinary uses of gcj. As
you note, gij has the ms/mx options, and there is no good reason these
are not supported by gcj & jvgenmain, except that they are seldom
actually useful. And there is no indication that initial/maximum heap
sizes have anything to do with your problem.
As I understand Hans' explanation, this warning has nothing to do with
memory constraints, and more to do with how the GC organizes its
internal data structures.
Jeff