in reply to Out Of Memory error at 950MB with 14GB free RAM

Perhaps you could write your script as if the data was on disk as others have noted, but then arrange to have the files go on a RAM disk for speed?
  • Comment on Re: Out Of Memory error at 950MB with 14GB free RAM

Replies are listed 'Best First'.
Re: Re: Out Of Memory error at 950MB with 14GB free RAM
by paulbort (Hermit) on Feb 10, 2004 at 13:04 UTC
    Exactly what I was going to suggest. If you don't want to go through the overhead of mapping your data structure(s) to disk files, the earlier post suggesting Tie::MLDBM combined with a RAMdisk would only add the overhead of going through the OS's disk routines, which have probably been subjected to some optimization already.

    --
    Spring: Forces, Coiled Again!