jankotek / jdbm4 Goto Github PK
View Code? Open in Web Editor NEWJDBM4 was renamed to MapDB
JDBM4 was renamed to MapDB
MapDB is being used in a phrase matching application, being tested as a replacement for JDBM3. JDMB3 operates efficiently and correctly with this application. MapDB, on the other hand, fails when writing updated records with the same application and the same data. MapDB fails with different entries on each trial. The only DBMaker functions used are closeOnJvmShutdown() and make(). The cacheDisable() and asyncWriteDisable() options do allow the application to work albeit very slowly in comparison with JDBM3.
This is being tested on an Apple MacPro laptop with fast solid-state drives (SSDs).
The application is written in Jython and here is the traceback for the error in question:
"Traceback (most recent call last):
File "IesSeqDict.py", line 335, in
sys.stderr.write('%d ms\n' % timeIt(test0))
File "/Users/infoextract/work/seq-dict/IesCore.py", line 52, in timeIt
func()
File "IesSeqDict.py", line 330, in test0
isd.set(lines[i][0].split(' '),lines[i][1])
File "/Users/infoextract/work/seq-dict/IesSeqDict.py", line 198, in set
self.LENGTHS[lcaseFirstToken] = keyllen
File "/Users/infoextract/work/seq-dict/IesMapDB.py", line 270, in setitem
return self.treeMap.put(key,value)
at org.mapdb.AsyncWriteEngine.recordPut(AsyncWriteEngine.java:190)
at org.mapdb.CacheHashTable.recordPut(CacheHashTable.java:65)
at org.mapdb.BTreeMap.put2(BTreeMap.java:589)
at org.mapdb.BTreeMap.put(BTreeMap.java:457)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: an error in writter thread"
I can provide the code (Jython application, supporting Jython utility libraries) and data (approx. 750K medical expressions and associated categories) to you separately, at your request.
Win Carus ([email protected])
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.