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 while merging parent with No Cascade annotation with children

Hello support, While tracking memory leak in my application i suspected a memory leak in the merging object db implementation. The test case is the following, just run and watch the "Memory Used" by comparing Cascade.ALL (or Cascade.MERGE ) to nothing. Tested with last version of Object Db ( 2.5.5_05 ) ... Hello support, While tracking memory leak in my application i suspected a memory leak in the merging object db implementation. The test case is ...

 
forum_thread

Is there an update on running ObjectDB purely in-memory?

Hi, I know that this has been asked, but the last time seems to be two years ago, so I'd like to know whether there is a change or an outlook regarding the topic: Is it possible, or planned, to run ObjectDB purely in-memory, without a any file on disk? Note that "file on RAM disk", which was proposed in the past, is not an option for the application I have in mind. It would need to be true in-memory mode, as supported by SQL databases like H2 or SQLite. Thanks, David ... Is it possible, or planned, to run ObjectDB purely in-memory, without a any file on disk? Note that "file on RAM disk", which was ... application I have in mind. It would need to be true in-memory mode, as supported by SQL databases like H2 or SQLite. Thanks, ...

 
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

Object DB In memory : without Filestore

Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I think that will give the best performance. The reason we are exploring is restoring state is possible for us through replaying the logs, however we want easier data structures which is really good with ObjectDB along with Concurrency controls and transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. ... we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the ... know if it is possible to run the Object DB completely in memory without disk storage. thanks, Sandeep ...

 
forum_thread

High memory consumption even after close() of EntityManagerFactory

Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not even after the EntityManagerFactory closed. We created a small test with which you can observe similar behavior. The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove this query, all is well. The memory is only released after we re-run a query (on a different database). ... Hello, we still have memory usage problems. When debugging, we have now observed a case in which the ... with which you can observe similar behavior. The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove ...

 
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 ...

 
forum_thread

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain many String. Often some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; ... After doing some memory related research in my program, I found a possible place for an ... some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... Some new data. After 5 hours of running database memory usage is quite high - attached screenshots. Record log is almost ... about 73MB large. The strange thing is - allocated memory by storage threads stops at the size of database. Maybe there is some ...

 
forum_thread

Performance and memory usage of queries

Hello, we can't understand why the performance of queries is not the best and the execution requires so much memory. In the implementation of our UnitTests we have used "DELETE FROM Object" to delete the database. That did not work because we often get an "out of memory" exception. What's all done in the execution of queries? Why is so much memory is required, although from the application point of view, no object is loaded. ... queries is not the best and the execution requires so much memory. In the implementation of our UnitTests we have used "DELETE ... That did not work because we often get an "out of memory" exception. What's all done in the execution of queries? Why ...