From: David Vallner Date: 2006-10-26T06:02:59+09:00 Subject: Re: debugging memory use and GC --------------enig69C66D70ED972AED9C59B421 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable snacktime wrote: > What is a good way to find out what objects are not being GC'd ? I am > seeing a strange pattern I can't figure out. The app is handling > large files and will use up to 150mb or so of memory and then when I > call GC.start it goes back down to around 8mb. But after a few cycles > memory stops being reclaimed. >=20 Debug, set a breakpoint after GC when you expect the anomaly to occur, inspect ObjectSpace? David Vallner --------------enig69C66D70ED972AED9C59B421 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.5 (MingW32) iD8DBQFFP9D7y6MhrS8astoRAlOJAJ40wFUJfCPCCLBDhgUtSoo+VyV84ACeJa2r +0TYggyQAkE4LysDfriIz1Y= =aP1J -----END PGP SIGNATURE----- --------------enig69C66D70ED972AED9C59B421--