Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: write hash to disk after memory limit

by MidLifeXis (Monsignor)
on Mar 13, 2015 at 12:57 UTC ( [id://1119952]=note: print w/replies, xml ) Need Help??


in reply to write hash to disk after memory limit

To echo ww's comment - we don't have enough information.

A couple of more potential solutions might be a "better" algorithm or a disk-based hash store (DBM::Deep, as an example). Whether it helps with your use case or not depends on many factors, none of which we have at this point.

--MidLifeXis

  • Comment on Re: write hash to disk after memory limit

Replies are listed 'Best First'.
Re^2: write hash to disk after memory limit
by QM (Parson) on Mar 13, 2015 at 15:23 UTC
    For DBM::Deep, I recall needing 64-bit Perl for large files (>4GB). See DBM::Deep Large File Support for more info.

    But, as said above, this is only one of several options.

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      64-bit perl != largefile support, except on their test machines. I can attest that given largefile support in a 32-bit perl + filesystem support does work.

      --MidLifeXis

        64-bit perl != largefile support, except on their test machines. I can attest that given largefile support in a 32-bit perl + filesystem support does work.

        OK. Seems like a documentation bug report is in order?

        -QM
        --
        Quantum Mechanics: The dreams stuff is made of

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1119952]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-23 18:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found