in reply to write hash to disk after memory limit
I'm not sure if I understand your question completely...
... but I once had a problem with a giant hash constantly swapping and solved it by splitting up the hash into a two tier HoH.
If you can organize the upper tier roughly according to the timeline of your process, your system will only swap the necessary lower hashes on demand.
I already described this here, will update the link after I found it.
HTH! :)
update
see Re: Small Hash a Gateway to Large Hash?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: write hash to disk after memory limit
by hailholyghost (Novice) on Mar 13, 2015 at 13:30 UTC | |
by LanX (Saint) on Mar 13, 2015 at 13:41 UTC | |
by Jenda (Abbot) on Mar 14, 2015 at 00:59 UTC |
In Section
Seekers of Perl Wisdom