tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* PERL out of memory
@ 1999-09-21 21:05 Spalding, Stephen
  0 siblings, 0 replies; only message in thread
From: Spalding, Stephen @ 1999-09-21 21:05 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-21 21:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-21 21:05 PERL out of memory Spalding, Stephen

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