« July 2009 | Main | September 2009 »

August 2009 Archives

August 18, 2009

Berkeley DB Java Edition 3.3.87

Berkeley DB Java Edition 3.3.87 is a patch release consisting of fixes for a number of issues. We strongly recommend that users of the 3.3.x version upgrade to this release. These fixes include: [#17462] - Fix a bug that would allow the Total Memory Usage stat to become negative. This could prevent eviction from occurring, which could cause OutOfMemoryErrorNullPointerException during eviction when an exception occurs during logging, for example, an IOException when the disk is full. The NullPointerException masked the original exception (e.g., IOException). We'd like to thank OTN Forum user tkram01 for reporting this on the BDB JE Forum. An example stack trace is below.

java.lang.NullPointerException at com.sleepycat.je.tree.LN.log(LN.java:534) at com.sleepycat.je.tree.LN.log(LN.java:373) at com.sleepycat.je.tree.BIN.logDirtyLN(BIN.java:1016) at com.sleepycat.je.tree.BIN.evictInternal(BIN.java:985) at com.sleepycat.je.tree.BIN.evictLNs(BIN.java:940) at com.sleepycat.je.evictor.Evictor.evictIN(Evictor.java:761) at com.sleepycat.je.evictor.Evictor.evictBatch(Evictor.java:344) at com.sleepycat.je.evictor.Evictor.doEvict(Evictor.java:244) at com.sleepycat.je.evictor.Evictor.doCriticalEviction(Evictor.java:269) at com.sleepycat.je.dbi.CursorImpl.close(CursorImpl.java:711) at com.sleepycat.je.Cursor.close(Cursor.java:326) at com.sleepycat.je.Database.putInternal(Database.java:999) at com.sleepycat.je.Database.put(Database.java:885)

[#17546] - EnvironmentConfig.COMPRESSOR_PURGE_ROOT has been deprecated. This parameter no longer has any effect. Compression of the root node has no benefit and this feature has been removed. This feature was also bug-prone, as reported by penemue on OTN. [#17590] - Fix a bug that could cause OutOfMemoryError when many records are read in a read-only environment, and the data set that is accessed does not fit in available memory. This applies to two types of applications: User applications that open the Environment with the read-only (EnvironmentConfig.setReadOnly(true)) property. The JE utilities that open the Environment read-only: DbVerify, DbStat, and DbDump if neither the -r nor -R switch is specified. Thanks to user8694068 for reporting this on OTN and working with us to diagnose the problem. The complete list of changes can also be found in the change log page. http://www.oracle.com/technology/documentation/berkeley-db/je/changeLog.html

August 23, 2009

Berkeley DB Java Edition Tested with JRockit

Not that this news should surprise anyone, but I tested Berkeley DB Java Edition with JRockit and it all works fine. I used the Java 5 version (build R27.6.3-40_o-112056-1.5.0_17-20090318-2104-windows-ia32).

August 31, 2009

Berkeley DB Java Edition: DZone Refcardz Cheat Sheet

Here's a plug for the DZone BDB JE "Cheat Sheet" (registration required). Masoud Kalali did a real nice job writing a 6 page summary of BDB JE complete with code snippits. This is useful for anyone who wants a quick intro to BDB JE.

About August 2009

This page contains all entries posted to Charles Lamb's Blog in August 2009. They are listed from oldest to newest.

July 2009 is the previous archive.

September 2009 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type and Oracle