Mail Archives: djgpp/1996/07/26/08:45:28
> > but when I use smaller blocks, the program has a sigsev
> > thingy and dies (under DOS and CWSDPMI, but not WIndows).
> This is, so I'm told, a bug in CWSDPMI (or maybe it's a feature ;-), where
> a large number of relatively small allocations causesit to run out of heap
While I increased the limit before badness happens in r2, I forgot to fix
the problem itself (which was not checking the return of malloc).
This will be mostly fixed in r3 (mostly - since HW interrupts/RMCB's
reflected from real mode still may consume stack which might overwrite
the stored memory zone info in rare cases).
As a workaround, run cwsparam and increase the paragraphs of extra heap
to 256 (or more) as needed.
- Raw text -