Hi Everyone,

I've been working on a program which handles large amounts of data (around
400MB of Folio markup) and builds data structures from this input.

The program makes heavy use of hashes of hashes, arrays of hashes and all
that stuff and stores large amounts of data in those data structures.

While testing the program, I received a few "Out of memory!" errors,
obviously due to these very large data structures. Increasing the page file
on the systems solved the problem for now, but I am looking at decreasing
the amount of load on the computer's memory while running the program.

I have quite a lot of hashes that contain hashes and arrays as values. I'm
looking to dumping all the required data onto the HD after I've finished
with the data structures and freeing up these hashes from their roots. Is
this just a matter of saying

%dataStructureRoot = ();

Where this hash stores one of the large data structures?
Is that going to destroy everything in there (which is what i want) and free
up the physical memory??

Also, is there a better way to do this?

Many thanks,
Mk

<<attachment: winmail.dat>>

Reply via email to