|
|
|
|
|
|
| Author |
Message |
bbouwens@xs4all.nl *nix forums beginner
Joined: 18 Mar 2005
Posts: 2
|
Posted: Fri Mar 18, 2005 1:20 pm Post subject:
Lock table is out of available locks -- java.lang.OutOfMemoryError:
|
|
|
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 |
|
 |
|
|
The time now is Thu Jan 08, 2009 3:59 am | All times are GMT
|
|
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
|
|