Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Tracking down memory leaks

by dragonchild (Archbishop)
on Apr 13, 2005 at 13:46 UTC ( #447379=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2020-06-02 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (13 votes). Check out past polls.

    Notices?