Mail Archives: djgpp/1997/03/14/14:06:36
> I suspect the problem is from the malloc() implementation. I think it
> allocates blocks in fixed sizes that keep on doubling. So when asking for
> the 17M chunk, it's trying to get a 30 or 31 meg chunk, which is being
> refused by DPMI since Windows only wants to give the program 32 megs.
Not exactly. The malloc() routine that comes with DJGPP always rounds an
allocation size UP to the NEXT power of two. From 17, this just happens
to be 32.
--
"But art is the process of evoking pity and terror. Art. Masturbation.
What modern artists do is pseudo-intellectual Whatever.
masturbation." http://www.cs.pdx.edu/~idr
-- Stranger In A Strange Land
- Raw text -