Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re^2: Hashing Memory Usage

by awkmonk (Monk)
on Jul 14, 2006 at 10:26 UTC ( #561192=note: print w/replies, xml ) Need Help??

in reply to Re: Hashing Memory Usage
in thread Hashing Memory Usage

I've come to that conclusion myself. The keys to my main hash are stupidly big, so as a quick fix I'm writing them to disk as individual files, containing just a unique number. I'm then using that number as the key. It has reduced the memory usage, but not by as much as I'd hoped.

Thanks one and all for your help on this.

'I think the problem lies in the fact that your data doesn't fit my program'.

Replies are listed 'Best First'.
Re^3: Hashing Memory Usage
by Anonymous Monk on Jul 14, 2006 at 19:30 UTC
    If you're dropping 256MB core files (the segment size in AIX), then you're essentially growing past the segment size and the -bmaxdata flag should fix the issue. I've been experiencing this recently and have not yet recompiled, but I am making many efficiency changes (true iterators have come in very handy) to combat the problem right now.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-10-27 03:11 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (352 votes). Check out past polls.