tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Spalding, Stephen" <SSpaldin () mem-ins ! com>
To: tru64-unix-managers
Subject: PERL out of memory
Date: Tue, 21 Sep 1999 21:05:24 +0000	[thread overview]
Message-ID: <96079072816200.tru64-unix-managers.marc@archive.invalid> (raw)

Hello all!

I realize that this is not completely a DU question, but it may be related.
I'm writing a program in PERL which needs to open a file of significant
size. The problem is that I get this error message when I attempt to do so:

> Out of memory during "large" request for 8392704 bytes at pcl_converter.pl
> line 126, <ORG_FILE> chunk 810230.
> 
The section of code that opens the filehandle is:

      open(ORG_FILE,$PATH_AND_FILE) || die "Can't open '$PATH_AND_FILE'\n";
      @ORG_FILE = <ORG_FILE> ;
      close(ORG_FILE)

The file that I'm trying to read in is this:

-rw-r--r--   1 bwaganer wcis     20872216 Sep 17 15:32
UW310RA_BM_1061629.00.l1

This looks like a limitation of Perl, but I thought that it also may have to
do with the vm limit settings of DU. I've looked in the O'Reilly PERL book,
but I couldn't find anything relevant in there.

Any suggestions or ideas?

Thanks!

-Stephen Spalding

                 reply	other threads:[~1999-09-21 21:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox