On Wed, Jan 19, 2000 at 04:25:05PM +0100, [EMAIL PROTECTED] wrote:
> > #if DEBUGGING
> 
> This means I have to recompile Event with that switch, am I right?

It depends.  Check 'perl -V' to see if it is already defined.

> > As you can see, this is very simplistic since it doesn't keep track of
> > free'd memory.  This was good enough for me because (IIRC) Event doesn't
> > free memory unless you destroy watchers.  If this isn't sufficient, then
> > I guess I can track frees too.  Let me know.
> 
> I think checks of free() would be useful then because I REALLY cancel watchers. (I
> presume this is synonym to "destroy" them.) My server installs a new watcher when a
> client connects and destroys it when it disconnects. In my current stress test,
> there are about 100 client connections in every stress loop, so ...

Hm.  Let's see what I can whip up in a few hours ...

> > Does Devel::Leak work?  I've used it before with some success.
> 
> Hm, so I will look at it again ... Yesterday the docs and a look into the t
> directory did not encourage me to use it.

Admittedly, it's nasty stuff.  I hate memory leaks.

-- 
"Does `competition' have an abstract purpose?"
       via, but not speaking for Deutsche Bank

Reply via email to