Comments (2)
Hi,
this problem is already solved, please use latest GIT source, not alpha 1.
Jan
On Wednesday 22 February 2012 14:39:25 you wrote:
Inserting a moderate number small objects causes a StackOverflowError. The
problem persists even with the cache disabled.import net.kotek.jdbm.*; import java.util.SortedMap; public class App { public static void main( String[] args ) { String fileName = "helloWorld"; DB db = new DBMaker(fileName).build(); SortedMap<Integer, float[]> map = db.createTreeMap("mapName"); float[] featureVector = new float[100]; for (int i = 0; i < 100000; i++) { map.put(i, featureVector); } db.commit(); db.close(); } }... at net.kotek.jdbm.DBCache.cachePut(DBCache.java:417) at net.kotek.jdbm.DBCache.insert(DBCache.java:156) at net.kotek.jdbm.BTreeNode.writeValues(BTreeNode.java:1028) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:986) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:43) at net.kotek.jdbm.DBStore.update2(DBStore.java:326) at net.kotek.jdbm.DBStore.update(DBStore.java:306) at net.kotek.jdbm.DBCache.purgeEntry(DBCache.java:478) at net.kotek.jdbm.DBCache.cachePut(DBCache.java:417) at net.kotek.jdbm.DBCache.insert(DBCache.java:156) at net.kotek.jdbm.BTreeNode.writeValues(BTreeNode.java:1028) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:986) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:43) at net.kotek.jdbm.DBStore.update2(DBStore.java:326) at net.kotek.jdbm.DBStore.update(DBStore.java:306) at net.kotek.jdbm.DBCache.purgeEntry(DBCache.java:478) at net.kotek.jdbm.DBCache.cachePut(DBCache.java:417) at net.kotek.jdbm.DBCache.insert(DBCache.java:156) at net.kotek.jdbm.BTreeNode.writeValues(BTreeNode.java:1028) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:986) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:43) at net.kotek.jdbm.DBStore.update2(DBStore.java:326) at net.kotek.jdbm.DBStore.update(DBStore.java:306) at net.kotek.jdbm.DBCache.purgeEntry(DBCache.java:478) at net.kotek.jdbm.DBCache.cachePut(DBCache.java:417) at net.kotek.jdbm.DBCache.insert(DBCache.java:156) at net.kotek.jdbm.BTreeNode.writeValues(BTreeNode.java:1028) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:986) at net.kotek.jdbm.BTreeNode.serialize(BTreeNode.java:43)
Reply to this email directly or view it on GitHub:
#10
from jdbm3.
Sorry. Just tested it with the latest rev. It works fine!
from jdbm3.
Related Issues (20)
- Not Serializable Exception HOT 1
- Corruption of index files (double get and IndexOutOfBounds errors) HOT 8
- Found setting where I lose part of a List value 'silently' HOT 1
- DB.defrag(false) ALWAYS increases the size of i.0 file HOT 1
- java.lang.OutOfMemoryError: Map failed HOT 3
- I'm confused about the record, slot, page, physical and logical list. Is there any document?
- Not working with JDK11
- BTree.java is a b plus tree or b tree?
- is someway to repair corrupt data file ? HOT 1
- JDBM and Scala HOT 5
- TreeMap#size() returns wrong values after rollback
- DBMaker#openFile should take a "File" as argument HOT 1
- Support serializing/deserializing Hadoop keys and values HOT 1
- java.lang.OutOfMemoryError: Map failed HOT 2
- NPE on Array deserialization
- floorEntry on BTreeMap behaves incorrectly on border cases
- Null retrieval of inserted keys HOT 1
- Unable to add an element to the beginning of a list HOT 1
- Does not work with JodaTime
- deserialization of HashSet fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jdbm3.