I am allocating memory using malloc
and freeing it after using it, but in every third operation I notice that malloc
is not allocating the memory.
Can anyone tell me what is happening... why malloc
is not working... what should I do to allocate memory?
Posting code is difficult as it involves lots and lots of files.. mostly I think that it's running out of memory... so maybe I can determine somehow how much memory I am wasting or using?