I found some circular references, and after removing them, garbage collection worked as expected.

Strange that Perl 5.8.9 destroyed the objects, but Perl 5.10.0 didn't.

Is there an easy way to troubleshoot this sort of problem, other than digging through your code?



I recently upgraded from Leopard to Snow Leopard.

Now, some scripts that ran nicely on Perl 5.8.9 are consuming all available RAM on Perl 5.10.0, and bringing the system to its knees.

The scripts I'm referring to create a series of large objects, each of which should be garbage-collected when the next object is created.

Apparently, Perl 5.10.0 is not picking up the trash.

I know how to use Perl 5.8.9 on Snow Leopard, but I would rather use the 64-bit version.

Any suggestions?
--

William B. Birkett - <wbirk...@doplganger.com>
Print Quality Consultant
Doppelganger, LLC  - http://www.doplganger.com/

48799 Meadow Drive, Plymouth, MI 48170 (USA)
Office: (734) 927-4232      FAX: (734) 468-0580
Cell: (734) 516-4790


--

William B. Birkett - <wbirk...@doplganger.com>
Print Quality Consultant
Doppelganger, LLC  - http://www.doplganger.com/

48799 Meadow Drive, Plymouth, MI 48170 (USA)
Office: (734) 927-4232      FAX: (734) 468-0580
Cell: (734) 516-4790

Reply via email to