[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

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