Quote Originally Posted by Paul McKenzie View Post
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.