macperl-toolbox-digest Sunday, April 4 1999 Volume 01 : Number 009 Re: [MacPerl-Toolbox] Memory leak ---------------------------------------------------------------------- Date: 02 Apr 1999 20:28:45 +0200 From: Matthias Neeracher <neeri@iis.ee.ethz.ch> Subject: Re: [MacPerl-Toolbox] Memory leak In article <E10Szs7-000FlC-0C@finch-post-12.mail.demon.net>, ajf@afco.demon.co.uk (Alan Fry) writes: > Kevin Reid writes 31 Mar 1999 16:52:08 -0500 >> Why does this eat memory? >> >> #!perl -w >> >> use Mac::QuickDraw; >> >> $col = new RGBColor (0,0,0); >> for (;;) { >> $col->red($col->red + 1); >> } > I agree it does eat memory and I have no idea why it should do, though it > must be said an endless loop like that is a pretty severe test :) Thanks for your investigations, Kevin & Alan. I'll look into this. Matthias - -- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://www.iis.ee.ethz.ch/~neeri "And that's why I am going to turn this world upside down, and make of it a fire so *bright* that someone real will notice" -- Vernor Vinge, _Tatja Grimm's World_ ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-toolbox-request@macperl.org ------------------------------ End of macperl-toolbox-digest V1 #9 *********************************** ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" ==== to macperl-toolbox-digest-request@macperl.org