About memory

forum_thread

Transaction isolation support?

I am looking at using ObjectDB for our new project, and its looking good so far. But I have been unable to find any documentation about how transaction isolation is handled. For example: What happens If I am reading data in transaction A, and then transaction B commits while A is reading. (Especially if using LAZY fetch sub object). Do I always just get the list of objects as it looks when the fetch start? Martin   ... Every EntityManager manages its own memory objects (which represent database objects). Therefore, if an entity ...

 
forum_thread

JPA and handling large data sets

This is not a rellay ObjectDB problem, rather a JPA problem. Our web-based DB supports Hibernate or JPA (ElicpseLink/ObjectDB). We implemented a export/import class to export the whole database or single datasets (domains) in a persistence layer/database independent format. This class works fine - DB exports form a Hibernate/MySQL base via the independent formt to ObjectDB is possible. But exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step by step during the export with the  query/setFirstResult() & setMaxResults().... exporting large binary data sets is very slow. To avoid memory problems the binary data type is read step by step during the export ...

 
forum_thread

OutofMemory error with Object DB 2.0

Hi, I am getting the below OutOfMemoryError after I have migrated from objectdb 1.0 to 2.0 The application works with 256MB heap size with objectdb 1.0  But on 2.0 even with max heap size of 1024MB, I get this error. The application reads xml file of around 1GB and creates a new odb file and inserts 200 records at a time. ... // This is becasue ObjectDB keeps all items in memory during a transaction ... so assuming you have one open database there is a cache memory problem. The heap dump may help in understanding the problem. ...

 
issue

ODB Doctor Stops Progressing (runs forever)

Hi, ... hitting some sort of resource constraints, possibly memory.  Can you please assist in troubleshooting?    ...

 
forum_thread

how to create in memery database in objectdb

plz can u give or help me how to create in memory database in objectdb   with example ... plz can u give or help me how to create in memory database in objectdb   with example ...

 
forum_thread

List managed entities for a given entity manager

Hi, Is there a way to find the number of managed entities given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot some - so if there is a way to know how many entities are managed by each my entity mgr - it would be helpful. Thanks, EKK ... given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot ...

 
release

2.0.0

... a failed find followed by persist. Fixed a memory leakage in eager load of large object graphs. Fixed a ...

 
forum_thread

Significant I/O costs during batch update or insert data.

Our application has some complex entities. We do batch update(merge detached entity) every 2 minutes. We find the period significant IO costs these days, and disappeared when turn off the batch updating. 1.ObjectDB is in embedded mode. 2.ObjectDB version is 2.3.7 3.Database file size is nearly 600mb and increasing. ... that are not enhanced by ObjectDB, which may increase memory usage and cause paging. If you still experience a problem with ...

 
issue

OutOfMemoryError, if close the entity manager

Hello, why this error occurs during close the entity manager?   ... and data had to be moved from a temporary file to main memory. The exception is not related particularly to closing an ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... reproduce the error now. It seems there was insufficient memory on the maschine. I will observe the issue and update if I find a way to ... 17:10 Insufficient memory may cause a crash. However, if recovery is enabled then the database ...