Re: Is it Event.pm or me that's loosing its memory?

[email protected] (Jochen Stenzel) Fri, 10 May 2002 17:11:01 +0200
Newsgroups perl.loop
Message-ID <[email protected]>
> I tried to add traces to your script but they made it hang
> completely (no activity after the 2nd or 3rd call of CheckSV() , verified by
> truss).

OK, it seems that Devel::Leak::CheckSV() is intended to be a one shot call. The
script continues to work if Devel::Leak::NoteSV() is called after each CheckSV().

The reported number of SV's remains constant from the 2nd callback invokation on.
However, memory consumption grows *rapidly* now. 100 MB consumed after 3 minutes,
200 MB after 6 minutes (about 51000 iterations). What does the $handle variable
express? It corresponds with the consumed memory,  approximately.

I'm in doubt if this is a useful investigation. Does it make sense to use an
analysis method that seems to accelerate the memory consumption? Again, I might use
Devel::Leak the wrong way.

                       Jochen