niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Berkeley DB
Lock table is out of available locks -- java.lang.OutOfMemoryError:
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
bbouwens@xs4all.nl
*nix forums beginner


Joined: 18 Mar 2005
Posts: 2

PostPosted: Fri Mar 18, 2005 1:20 pm    Post subject: Lock table is out of available locks -- java.lang.OutOfMemoryError: Reply with quote

I'm trying to port an application from je-1.7.1 to db-4.3.27.NC but
it gives me a little bit of head aches. Besides producing far more
log files than I expected, I get this when I restart the loading
application:

2005-03-18 15:06:57,278 INFO [main] itemstore.ItemStore
(ItemStore.java:165) - ItemStore cache size 600 MB
Lock table is out of available locks
Exception in thread "main" java.lang.OutOfMemoryError: Cannot allocate
memory
at com.sleepycat.db.internal.db_javaJNI.Db_open(Native Method)
at com.sleepycat.db.internal.Db.open(Db.java:329)
at
com.sleepycat.db.DatabaseConfig.openDatabase(DatabaseConfig.java:478)
at com.sleepycat.db.Environment.openDatabase(Environment.java:81)
at
com.fredhopper.itemstore.ItemStore.openDatabase(ItemStore.java:238)

This happens with envConfig.setMaxLocks(1000000); but also 10000 or
100000.
Java heap space should be enough, I can set -Xmx1600m, or 2000, 2500,
3000,
doesn't make any difference (2.5 GB physical memory).

os.arch = "amd64"
sun.management.compiler = "HotSpot 64-Bit Server Compiler"
os.version = "2.6.8-24.11-default"
java.version = "1.5.0_01"
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 3:59 am | All times are GMT
navigation Forum index » Databases » Berkeley DB
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts GIDS 2009 Java:: Save Big, Win Big, Learn Big: Act Before... Shaguf Apache 0 Tue Dec 23, 2008 7:41 am
No new posts How to ALTER a table using the ALTOBJ procedure Serge Rielau IBM DB2 1 Fri Jul 21, 2006 1:06 pm
No new posts question for JAVA developer who r using postgres sql as b... deepak pal PostgreSQL 1 Fri Jul 21, 2006 9:00 am
No new posts Posting Guidelines for comp.lang.perl.misc (: 1.... Tad McClellan Perl 0 Fri Jul 21, 2006 7:22 am
No new posts Is there C/C++ corresponding function in Linux for Java's... xiebopublic@gmail.com apps 4 Fri Jul 21, 2006 3:22 am

Bankruptcy | Payday Advance | Mobile Phone | Credit Counseling | Credit Counseling
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2314s ][ Queries: 16 (0.1288s) ][ GZIP on - Debug on ]