Re: Perl 5.10.0 Memory Usage

[email protected] (David Cantrell)
Newsgroups perl.macosx
Message-ID <[email protected]>
On Mon, Aug 02, 2010 at 07:13:17AM -0400, Bill Birkett wrote:
> 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.

If your 5.8.9 is 32-bit and 5.10.0 is 64-bit, then you can expect data
structures to use more memory, up to twice as much in the worst case.

-- 
David Cantrell | Nth greatest programmer in the world

Hail Caesar!  Those about to vi ^[ you!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.