Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Just another Perl shrine
 
PerlMonks  

Re^2: How to save memory, parsing a big file.

by perl_devel (Friar)
on Mar 02, 2006 at 06:07 UTC ( [id://533845]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: How to save memory, parsing a big file.
in thread How to save memory, parsing a big file.

Is there a way to hold the entire log contents itself in to some hash or array without utilising much memmory ,since the file size is too large
  • Comment on Re^2: How to save memory, parsing a big file.

Replies are listed 'Best First'.
Re^3: How to save memory, parsing a big file.
by dragonchild (Archbishop) on Mar 02, 2006 at 09:25 UTC
    The node you replied to is the answer to your question. DBM::Deep is exactly the way to have a hash use disk instead of RAM.

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://533845]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.