Mail Archives: djgpp/1997/11/12/03:31:45
> Thomas Demmer (demmer AT LSTM DOT Ruhr-UNI-Bochum DOT De) writes:
> > No, unless you have a typo here. 60kB x 8 are merely 256kB, something
> > that every computer nowadays should have free. FWIW, post what RHIDE
> > spits
> > out when you create a bug report.
>
> Are you allocating that stuff on the stack in this project? Cause the
> stack has exactly that much space ... 256K. Be sure to allocate your 60K
> blocks on the heap.
> --
For first: my program tries to allocate exactly those buffers: 6414,
2896, 4776, 2172, 10520, 13316, 200, 20000 and it's 60296 at all and then
crashes. Maybe I have bad explaine it.
Second: malloc allocates always on the heap, doesn't it?
Petr Mrazek
- Raw text -