Re: [bdbxml] Locker entries exceeded?
John Snelson <[email protected]> Mon, 26 Sep 2005 11:04:39 +0100
| Newsgroups | gmane.comp.db.dbxml.general |
|---|---|
| Message-ID | <[email protected]> |
You will have to remove the old environement, and recreate it with the new configuration before the changes wil come into effect. http://www.sleepycat.com/xmldocs/java/com/sleepycat/db/Environment.html#remove(java.io.File,%20boolean,%20com.sleepycat.db.EnvironmentConfig) John Antony Grinyer wrote: > Hi, > > We're getting an error when running queries against a container holding > thousands of small XML documents: > > *Lock table is out of available locker entries > com.sleepycat.dbxml.XmlException: Error: Dbc::get: Not enough space, > errcode = DATABASE_ERROR* > > We’ve increased the 3 parameters on the DB XML Environment objects to > 10,000: > > envConfig.setMaxLocks(10000); > envConfig.setMaxLockers(10000); > envConfig.setMaxLockObjects(10000); > > ...but we still get the error after a few queries, can anyone shed some > light please? > > Thanks, > Ant > -- John Snelson, Berkeley DB XML Engineer Sleepycat Software, Inc http://www.sleepycat.com Contracted to Sleepycat through Parthenon Computing Ltd http://blog.parthcomp.com/dbxml ------------------------------------------ To remove yourself from this list, send an email to [email protected]