Giter Club home page Giter Club logo

jdbm4's People

Contributors

jankotek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

elecharny

jdbm4's Issues

AsyncWriteEngine.recordPut runtime exception with large volume of entries

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])

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.