How large are your text files?

Perl data structures are often 5x to 10+x the size of the file on disk.

If you're processing a 2GB or 3GB file, you may hit swap when processing 
the file in memory.

You may want to look into tieing the file to a variable and processing the 
file line by line.

On Mon, 18 Aug 2003, Subrahmanyam Vadlamani wrote:

> Date: Mon, 18 Aug 2003 07:36:19 -0700 (PDT)
> From: Subrahmanyam Vadlamani <[EMAIL PROTECTED]>
> To: perl-unix <[EMAIL PROTECTED]>,
>      perl-win32 <[EMAIL PROTECTED]>
> Subject: [Perl-unix-users] Thoritical limits on perl processes
> 
> Hi:
> 
> Suppose I want to read in large text files and want to
> do something with them.  Are there any theoritical
> limits on the process size of a perl script?
> 
> My scripts are going to be running on an AIX 5.1
> machine with quite a bit of RAM (about 8 GB RAM).  I
> will be using perl 5.6.0.
> 
> thanks for the information.
> 
> Satish
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> Perl-Unix-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to