Free memory left...
January 08, 2010 11:16AM
Is there any way to ask how much memory is still not allocated?
I want to do some caching of loaded files, but I don't want my code to run out of memory anywhere else.

Or is there anyway I can hook into malloc so that I can cleanup something when it runs out of memory?
And then there is the question of stack space, does it grow/shrink with usage? Or has it a fixed size?
Sorry, only registered users may post in this forum.

Click here to login