This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

increasing the heap size

My program does a lot of dynamic memory allocation and at some point "malloc" retruns NULL, which is cause the system running out of allocated heap memory (I am assuming...).

I would like to know about the techniques to increase the size of heap memory.

I am using Keil compiler right now. Can I use Keil compiler to increase the heap size or do I have to use Gcc.

Any help is greatly appreciated. Thanks!

Parents Reply Children
No Data
Related