On Fri, Oct 24, 2003 at 12:23:19PM -0700, Palit, Nilanjan wrote:
> 
> > I have a Perl script that needs to read a large amount of data from several files 
> > and store it in memory (in a hash). My estimate is the stored data size is ~1.5GB. 
> > However, Perl seems to be choking ("out of memory!") at ~900-950MB. I have tried 
> > it on multiple machines, and on both Linux & HP-11, with same result. In each 
> > case, the actual amount of available physical memory on the machine is >2GB (in 1 
> > case it was >6GB).
> > 

A quick hack, often, is to tie the hash.

> > 
> > Thanks,
> > 
> > -Nilanjan Palit
> > 
> _______________________________________________
> Boston-pm mailing list
> [EMAIL PROTECTED]
> http://mail.pm.org/mailman/listinfo/boston-pm
> 

-- 
Brian 'you Bastard' Reichert            <[EMAIL PROTECTED]>
37 Crystal Ave. #303                    Daytime number: (603) 434-6842
Derry NH 03038-1713 USA                 BSD admin/developer at large    
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to