Memory stuff
Is there a command I can run within my program that can return the number of bytes my program is using? I need to trace memory problems, and mtrace isn't helping. I have no mallocs in my program , but there is still a leak somewhere.
Thanks.
the only thing that can cause leaks are dynamic allocations, if you are not using malloc then you must be using "new".
Try this (assuming you're using linux).
Try this (assuming you're using linux).
[size="2"]I like the Walrus best.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement