> 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.

It seems I did. Every invokation of NoteSV() increases the value of $handle by 4096 on
its own. 50.400 iterations * 4096 / 1024 ** 2 => 196 MB. But how to use Devel::Leak
better here?

                              Jochen



Reply via email to