|
-
November 21st, 2010, 01:03 PM
#4
Re: Any tool to help trace where memory is allocated?
 Originally Posted by Paul McKenzie
And how did you determine this? You cannot use OS tools to determine this accurately, as the C heap manager/ C++ free-store manager is the data structure that ultimately controls memory management in a C/C++ program.
Regards,
Paul McKenzie
I do ps aux and the memory usage grows exponentially.
Ended up finding the problem manually though, at least I think. My network queue is growing faster then my app can process the data. I need to add some kind of "ack" into my protocol so it can tell the sender to stop for a bit until the buffer catches up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|