Re: BDB uses far more memory than it's supposed to; ideas?

Juiceman <[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
Another thing I noticed is from the API
http://www.stylusstudio.com/api/sleepycat/berkeleydb/index-all.htm

setCacheSize(long, int) - Method in class com.sleepycat.db.DbEnv
    Set the size of the shared memory buffer pool -- that is, the cache.
setCacheSize(long, int) - Method in class com.sleepycat.db.Db
    Set the size of the shared memory buffer pool -- that is, the cache.

These seem to be calling the class class com.sleepycat.db.Db or class
com.sleepycat.db.Db, yet in our Node.java you are only importing
import com.sleepycat.je.DatabaseException;
import com.sleepycat.je.Environment;
import com.sleepycat.je.EnvironmentConfig;
import com.sleepycat.je.EnvironmentMutableConfig;
import com.sleepycat.je.StatsConfig;

Is the sleepycat.je vs sleepycat.db relevant?

Sorry if I am asking a stupid questions. I am a code hacker (in the
traditional sense) at best.


>
> --
> I may disagree with what you have to say, but I shall defend, to the
> death, your right to say it. - Voltaire
> Those who would give up Liberty, to purchase temporary Safety, deserve
> neither Liberty nor Safety. - Ben Franklin
>


-- 
I may disagree with what you have to say, but I shall defend, to the
death, your right to say it. - Voltaire
Those who would give up Liberty, to purchase temporary Safety, deserve
neither Liberty nor Safety. - Ben Franklin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.