This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 'Needed to allocate blacklisted block at 0x829d000' ?????


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?)

If there is a fixed max (or initial value), how do I reset it?

"Boehm, Hans" wrote:

> As far as the warning message is concerned:
> Are you allocating a large single-dimensional array?  "Large" here should be
> at least on the order of a 100,000 entries.

My program allocates an array of around 30k doubles, not all that large.  The
program runs with the jvm with no problems.  It's most likely that the problem
has to do with how I'm using the gcj.

Thanks,

Barnet


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]