[Mimedefang] memory leak?

Jonas Eckerman jonas_lists at frukt.org
Wed Feb 11 03:34:21 EST 2004


>  I'm curious why embedding perl would exacerbate a perl memory
>  leak.  I'm not really understanding the mechanics of that.

The stuff below is a generalisation, and may not apply to MIMEDefang at all:

With most soplutions using an embedded perl interpreter, the perl interpreter is never unlodaded. This means that if the perl interpreter itself has memory leaks, those can accumulate over time.

It can also accumulate failures of the garbage collector. Perls garbage collector sometimes fails in freeing all the memory allocated by a perl script (usually because of cyclic references). This memory is freed when the perl interpreter finishes instead. If it never finishes, leaks can be accumulated.

Regards
/Jonas

-- 
Jonas Eckerman, jonas_lists at frukt.org
http://www.fsdb.org/




More information about the MIMEDefang mailing list