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

Matthew Toseland <toad-EI5O+8PHWbJeeLb3ft/[email protected]>
Newsgroups gmane.network.freenet.technical
Message-ID <[email protected]>
We do set the maximum cache size, in absolute terms, in Node, via
EnvironmentConfig.

On Sat, Feb 10, 2007 at 05:28:10PM -0500, Juiceman wrote:
> 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
> _______________________________________________
> Tech mailing list
> [email protected]
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
>

_______________________________________________
Tech mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFzlehA9rUluQ9pFARAtdvAKCF4SSz973/5I6Ij1mBC95Mnjr1FACfcg32
uyBZ2BIC9IRCN0arojSIwn4=
=gnpJ
-----END PGP SIGNATURE-----
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.