AnsweredAssumed Answered

M52233Demo apparent HTTP server leak

Question asked by Samiran Joseph on Dec 31, 2009
Latest reply on Jan 6, 2010 by Samiran Joseph

Using the EMG http Server/ Interniche stack on a M52233Demo board using Coldfire 7.0 build 15.

 

Using the command line heap memory statistics I find that it reports exactly 12 bytes regularly disappear off the heap for each HTTP connection and are never returned when the HTML browser / or HTTP connection is closed. Eventually the web server hangs and or the OS crashes if enough repeated connections are made due to memory fragmentation.

 

Is there anyway to prevent this 12 byte leak? 

Outcomes