Hi all,

I've committed to cvs some changes to fcptools and FreeWeb.

Basically, the change is that all malloc() calls have been replaced by calls
to a wrapper called safeMalloc().

safeMalloc() keeps retrying malloc() until a memory allocation succeeds. In
the event of a failure, safeMalloc() sleeps for 500ms and tries again. If
that fails, it keeps sleeping for double the previous time (up to max 1
hour) and retrying till it gets the memory.

This has been made necessary by some insane node bugs which cause the node
to slurp up all available memory (640MB + 2GB swap on my machine) and leave
nothing for client progs.

Correspondingly, new zipped (windoze) binaries of the fcptools and FreeWeb
are now available from the FreeWeb site at http://freeweb.sf.net/bin/windows

David





_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to