On Fri, Mar 27, 2009 at 3:20 PM, David Schumacher <[email protected]> wrote:

> hi,
>
> i compiled the latest cvs-version [updated 2009-03-27 16:13] by removing
> libtool from owfs-directory and symlinking to /usr/bin/libtool [which is
> 2.2.4].
>
> sorry, owserver is still growing when writing to DS2413. see attachment.
> the first pmap ist before the start of the following loop:
>
> Ok, the current CVS version has some debugging enabled for memory
allocation/free.

In file module/owlib/src/h/ow_alloc/h line 34 uncomment to #define
OW_ALLOC_DEBUG

run the program in the foreground piped a text file. e.g.

/opt/owfs/bin/owhttpd --foreground -u -p 4444 > ~/mem.txt

This will create a text file of all allocations and frees by location. I
sort it to match up and see if there is any memory leak. So far I haven't
found any problems, but I don't have as much writing, or DS2413s to truly
test your findings. (You can just send me the file. Basically I use standard
unix utilities, like sort and uniq -c to make sense of it.)

Paul Alfille
------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to