in reply to Re^2: Tracking down memory leaks
in thread Tracking down memory leaks

Create tied hashes for caching that information so that I don't have to hit the database everytime I need the id of some frequenly used term.

And you're wondering why your memory usage is increasing? Why don't you try a run with caching disabled and see if that fixes your problem.

Replies are listed 'Best First'.
Re^4: Tracking down memory leaks
by scain (Curate) on Apr 13, 2005 at 13:56 UTC
    That's why I tied them to DB_File--I can watch those files grow as the program runs, but there're only 4 of them and they only grow to only about 30MB each.

    Scott
    Project coordinator of the Generic Model Organism Database Project