>>>>> "CS" == Chris Stinemetz <cstinem...@cricketcommunications.com> writes:

  CS> Uri,
  CS> When I try to parse one of my raw files I get the following error:

  CS> Out of memory during "large" request for 536875008 bytes, total sbrk() is 
880640 bytes at /usr/lib/perl5/site_perl/5.10/

  CS> File/Slurp.pm line 159.

  CS> Since you created the File::Slurp module I was curious if you knew what 
the fix is?

simple. don't slurp super large files. the article included with the
module says that. anything reading that much in will wipe out virtual
ram and such. slurp doesn't do anything special regarding large
files. if you read it with other code it would still blow up.

uri

-- 
Uri Guttman  ------  u...@stemsystems.com  --------  http://www.sysarch.com --
-----  Perl Code Review , Architecture, Development, Training, Support ------
---------  Gourmet Hot Cocoa Mix  ----  http://bestfriendscocoa.com ---------

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to