in reply to Hashing Memory Usage

I've had similar problems and this inbetween 5.6.1 and 5.8.7.

My program was sucking up double as much memory and this only because of differences in Perl versions.
Same compilation flags, same way of installing.

Replies are listed 'Best First'.
Re^2: Hashing Memory Usage
by awkmonk (Monk) on Jul 14, 2006 at 10:26 UTC
    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'.

      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.