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 > Tech at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <https://emu.freenetproject.org/pipermail/tech/attachments/20070210/d3710aa2/attachment.pgp>
