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

Re^4: Tracking down memory leaks

by scain (Curate)
on Apr 13, 2005 at 15:38 UTC ( #447465=note: print w/ replies, xml ) Need Help??

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

While it isn't related to the memory problem, we did think about this. The thing is, for each time through the loop, we have to hit the database about 10 times to obtain ids for a relatively small number of possible items. We are trying to eliminate the overhead of just hitting the database, not waiting for the query to finish, as it is very fast. It is that overhead that takes a while (comparatively). That overhead compared to a small BerkeleyDB database should favor BerkeleyDB.

What I will probably do after I get these memory issues out of the way is offer as a command line option to either use in memory hashes or tied hashes, depending on the size of the file.

Project coordinator of the Generic Model Organism Database Project

Comment on Re^4: Tracking down memory leaks

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2015-10-10 21:11 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (258 votes), past polls