datalevin

Anton Shastun 2025-10-22T13:55:22.106729Z

How could I avoid

datalevin.cpp.Util$DTLVException: MDB_READERS_FULL: Environment maxreaders limit reached

Huahai 2025-10-26T01:57:18.016779Z

Right now, virtual thread is not recommended, until we resolve https://github.com/juji-io/datalevin/issues/326

Anton Shastun 2025-10-23T18:34:10.618589Z

@brownjoshua490 thank you, will check

Anton Shastun 2025-10-24T13:41:42.706519Z

There is recommendation to avoid exhausting the number of readers https://github.com/juji-io/datalevin/blob/master/doc/transact.md

java.util.current.Executors/newFixedThreadPool, java.util.current.Executors/newWorkStealingPool, or a custom one
could i use
newVirtualThreadPerTaskExecutor ?

Josh 2025-10-24T14:37:21.550829Z

I’m not really sure, I just removed the pmap and it fixed it for me, and I avoid running too many threads accessing datalevin

Josh 2025-10-23T03:23:37.244169Z

I've run into this before, for me it was removing a pmap call, you can read this thread for more info https://clojurians.slack.com/archives/C01RD3AF336/p1740990201337029?thread_ts=1738961638.883029&cid=C01RD3AF336

šŸ™ 1
Anton Shastun 2025-10-26T16:26:16.267209Z

@huahaiy thank you