About memory

manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... threshold = "64mb" /> To meet memory constraints ObjectDB can use temporary files in processing of large ...

 
forum_thread

Memory Leak?

... and certainly new to it. I'm seeing a possible memory leak in ObjectDB or it could be my abusive use of it. Basically ... that I'm using directly that causes ever expanding memory usage. I'm putting my code as a reply to this topic. ...

 
forum_thread

Index causes increased memory usage

Hello, ... noted that our database application is consuming MUCH more memory (~8gb instead of ~3gb) than when the indices are not included.  What could be taking up that memory?  The data load was the same for both tests (with and without ...

 
issue

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log reports this as: ... I've started to get memory exceptions on objectdb instances running as a server. The objectdb log ... limits but would like to get an understanding of where the memory is being used. In each exception case the server has typically been ...

 
forum_thread

Suspected memory leak

Hi, We are running soak testing with Object DB and it is showing signs of memory leak: used memory is growing overtime until Object DB JVM fails with OutOfMemoryException. Object DB is running in a separate JVM. All the config is attached. We are continuing to investigate this and will create memory dump next time this happens. In the meantime, could you please check if there is anything wrong with our configuration? Kind regards, Natalia. ... soak testing with Object DB and it is showing signs of memory leak: used memory is growing overtime until Object DB JVM fails with OutOfMemoryException. ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... I've attached the leak suspects report from Eclipse Memory Manager in the hope it may help. Please let me know if you need ... The fix of issue 61 fixed an important memory leak but unfortunately it seems that it is not the only one. Hopefully ...

 
issue

Large query parameter - out of memory

I have an entity object composed of an id, large data in the form of a string and the hashcode of the string as an index. The attached test saves 2000 of these objects, writing the data to a txt file as it goes. It then loops through the data from the file and queries for the entity id based on the data hashcode and the data itself. ... the id. After about 300 queries the test throws an out of memory exception so I assume the query data is being held internally. I've ... cache to prevent the need for large data to be held in memory. The data itself forms part of the query as there are duplicate data ...

 
forum_thread

Run out of memory

Hi, I've been looking into ObjectDB for our use, where everything has been great apart from I'm stuck on the following problem.   I am trying to load a large file (> 1GB), process certain information and store it back in the database to access / modify later. I require to be able to rollback changes as well, where there can be massive amount of changes.   ... in RAM (not the file db), hence I am getting out of memory exceptions. Here are snapshots of my code: protected ... Calling flush followed by clear frees memory at the EntityManager (client side in C/S mode), but the ObjectDB ...

 
forum_thread

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting for this database is about 650MB. It's about ten times of size of database. ... Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space ... file threshold . The Doctor will use less memory and more temporary files, but it might become even slower. ...

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following ... and query execution becomes faster and consumes less memory. Execution of a query as the following using indexes: ...