malloc problems

support for the ARM toolchain
Post Reply
m4c0
Posts: 9
Joined: Wed May 27, 2009 11:46 am

malloc problems

Post by m4c0 » Thu Jun 25, 2009 7:33 pm

After invoking malloc 6 times, it returns NULL... Is this right? Is there any way to increase this limit?

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: malloc problems

Post by WinterMute » Thu Jun 25, 2009 9:28 pm

Insufficient information for a meaningful response.

How much memory are you trying to allocate and how big is your nds file?
Help keep devkitPro toolchains free, Donate today

Personal Blog

m4c0
Posts: 9
Joined: Wed May 27, 2009 11:46 am

Re: malloc problems

Post by m4c0 » Fri Jun 26, 2009 1:01 pm

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.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests