Re: [Fwd: memory leak in Event.pm ?]

[email protected] (Joshua N Pritikin) Sat, 23 Apr 2005 09:35:32 +0530
Newsgroups perl.loop
Message-ID <[email protected]>
--=-XN1eZcWQdGScQydP3Huq
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2005-04-23 at 07:37 +0530, Joshua N Pritikin wrote:
> Is this memory leak in Event.pm or bad driver /dev/hands ?

It appears to be a memory leak.

I recompiled Event with EVENT_MEMORY_DEBUG.  However, that didn't turn
up anything.  Hence, it's probably a mistake in reference counting.

Confirmed with Event 1.00 & 1.04

Same behavior with:

use Event;=20
my $ok;
Event->timer(interval=3D>.0001, cb=3D>sub { ++$ok });
Event::loop;

--=20
If you are an American then support http://fairtax.org
 (Permanently replace 50,000+ pages of tax law with about 200 pages.)

--=-XN1eZcWQdGScQydP3Huq
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBCacmLqcqnlKSmC70RAs1tAKCgBxtlsw3O7C+MosOz765vHgq3bQCeItaj
XaRYXJNCUF1vgBE+Uf9bAWY=
=cXDj
-----END PGP SIGNATURE-----

--=-XN1eZcWQdGScQydP3Huq--