Mail Archives: djgpp/2001/03/17/02:57:00
> From: damon AT WRONG DOT redshift DOT com (Damon Casale)
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 17 Mar 2001 01:00:02 GMT
>
> I'm having a similar problem to what I had before -- I get a General
> Protection Fault while attempting to create a very long linked list.
> The "add a new element to the list" routine is iterative now, whereas
> before it was recursive. I'm just using 17,000-odd file/data elements
> this time around, whereas before I was only using about 8000.
>
> Before I go into the specifics of what the error is, can I ask the
> DJGPP gurus if there's an internal limitation on the _number_ of
> allocations one can do?
No, not in the DJGPP library.
> I'm allocating about 50 bytes 17,000-odd
> times over. Would this cause a problem in the allocation code?
If you are running on plain DOS with CWSDPMI, you might be hitting the
CWSDPMI limit on its internal heap. See section 15.4 of the DJGPP FAQ
for more about this.
- Raw text -