Memory leak when using GoAhead webserver.

Rosimildo da Silva rdasilva at connecttel.com
Thu Jan 18 14:53:18 UTC 2001


Nick.SIMON at syntegra.bt.co.uk wrote:
> 
> Hi,
> 
> I'm experiencing loss of heap when retrieving pages from webserver, about
> 500 bytes a time.  As the NT test version also has goahead, and doesn't lose
> heap, I suspect IMFS (where html files are kept) or possibly sockets.  I'll
> do some tests to isolate this when I can get to a target but, in the
> meantime, has anyone any knowledge of this?
> 
> I'm using 4.5.0 beta3a with both standard and snapshot 20001219 versions of
> GoAhead.


I have tried MemWatch ( freshmeat has it ) in the past. It works OK.
But,
there is a catch. It is NOT thread safe. I never had time to actually
fool around and add a mutex around it. I might still have the files
here around on my PC, if you are interested.

Maybe one day, I'll try DMALLOC that has pthread support.

If anyone has a "debug malloc" system for RTOS'es in general,  I am
interested in 
hear about it.

-- 
Rosimildo da Silva            rdasilva at connectel.com 
ConnectTel, Inc.              Austin, TX -- USA      
Phone : 512-338-1111          Fax : 512-918-0449     
Company Page:  http://www.connecttel.com             
Home Page:     http://members.nbci.com/rosimildo/



More information about the users mailing list