Page 1 of 1

malloc problems

Posted: Thu Jun 25, 2009 7:33 pm
by m4c0
After invoking malloc 6 times, it returns NULL... Is this right? Is there any way to increase this limit?

Re: malloc problems

Posted: Thu Jun 25, 2009 9:28 pm
by WinterMute
Insufficient information for a meaningful response.

How much memory are you trying to allocate and how big is your nds file?

Re: malloc problems

Posted: Fri Jun 26, 2009 1:01 pm
by m4c0
I have a 500k or less NDS file and I'm trying to alloc a lot of small chunks (~50b). I can allocate one large chunk (like 100kb) without problems.