Home » Search

About concurrency

31-40 of 101Refresh
Issue
2

InternalException: null

Hi! when I run my application where 10 threads are concurrently accessing ObjectDB (only reading ... .extech.serverImpl.QuantServerImpl$6.run(QuantServerImpl.java:2184) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker
Forum
2

Many connections possible? and will it makes problem in future?

concurrently ? Does it have queue and cache ? 2-) is it dangerous to use that system on many online users ?   Having 200,000 concurrent threads is probably a bad idea. Usually this should be handled by ... . ObjectDB doesn't limit the maximum number of allowed concurrent connections, but they are limited by
Forum
2

Mismatch client-server protocol prefix

-server communication. It could be because of concurrent use of the same connection and sockets (i.e. same EntityManager) by two concurrent threads. ObjectDB synchronizes use of EntityManager by different ... concurrent use of the same EntityManager in different threads. How can #2 happen? We are persisting
Forum
2

RT Java application recording into 100DB run OOM after a few hours.

.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) java.util.concurrent ... , so it can easily exceeds your VPS RAM. If you must keep 100 databases open concurrently then you will have to reduce cache sizes, etc. EKK
Issue
2

Unexpected error when loading all entity instance

concurrently by two different processes directly (i.e. not using one server process)? Do you move or ... is somehow accessed concurrently by two instances of ObjectDB (e.g. two separate class loader contexts in the same ...  concurrent access by different processes, but the lock may not be effective on some systems, or in the same
Issue
2

An entityManager.flush() with many entities is not possible

.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)         at java.util.concurrent.ThreadPoolExecutor
Forum
2

Attempt to begin a new transaction when a transaction is active

="admin"/>   From other beans I need concurrent access ... .storeRecord(updatedRecord); or recordDao.storeRecord(newRecord); Other concurrent operations that I
Forum
2

Attempt to execute a query using a closed EntityManager

.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent
Forum
2

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

folder and the folder deletion is protected from concurrency issue with one lock - then when the first ... well? It is possible that two processes will try to delete the same obsolete directory concurrently, but this should not cause any problem. EKK
Forum
2

Cast exception?

.core.SFSEventManager$SFSEventRunner.run(SFSEventManager.java:64) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run