Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^3: Tracking down memory leaks

by dragonchild (Archbishop)
on Apr 13, 2005 at 13:46 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447379]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-06-14 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.