Mail Archives: cygwin/2007/01/23/10:51:30
--------------enigEC99F5AA5C4251D177831817
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Corinna Vinschen wrote:
>=20
> Hello? Am I in the wrong movie?
>=20
> This is no serious application. I'm demonstrating a problem.
>=20
> Every allocation uses twice as much memory as necessary. This is no
> problem as long as the process doesn't eat up the virtual memory for
> a process. As soon as no memory is available, I'd expect the GC kicking
> in, but it doesn't. Half of the VM is used up for temporary memory
> and never free'd, not even when the VM is used up. This shows a memory
> leak. The GC apparently doesn't know about this temporary memory
Perl doesn't have GC like Java. It uses just reference counting, nothing
else, IIRC. There must be some reference that gets freed only at the end
of block. If you think about it makes sense a little bit when we are
talking about lexical variables.
> anymore, otherwise it would free it and try to reuse it. It doesn't.
> Use strace and you'll see. That's not hard to understand, is it?
>=20
>=20
> Corinna
>=20
If I were you I would report it as a bug to their bug tracker.
--
Vaclav Haisman
--------------enigEC99F5AA5C4251D177831817
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRbYuGENOZDESBK8FAQJ0eAf/UCmjaAJjkFdW1Vx3T63ppctxRqMD4sFL
dXKeFeWeMz0W1wT/pib7rQyrPwppK4Wctj/4x7ColVttVe2MDT54bhfrwXDq8qHX
G+1XAp+9ezBASqyYdq3KsV7LMXLzduEGNKp5fZacorO5p0RWJrSca7uVx9/VJMdh
ce9EaRDPKS86mJjqT8dpHR17KXicKnPcLTd0NWdaXH8bk1p87vvwvcLslTeqlQ6G
JSJaZtKruySvS4UWxxNcoyn/ZsZsiV7YHQpoc6WSWoanetGCOq11pqKpqOIiiCvG
NAUPjP2UZlUrqIuTE1Qnqu4p249jNZZhDOvsXkdNG2VPNTPBGm127g==
=iGa+
-----END PGP SIGNATURE-----
--------------enigEC99F5AA5C4251D177831817--
- Raw text -