About memory

forum_thread

Time Sequence Object Command DB

We (www.s2ssystems.com) have a time-sequential object command database.  I would like to see if it can be built and run efficiently on ObjectDB.   The requirements that drive the design of this database are: ... a new schema and a new object of the same class.  In memory, all objects are defined by the latest schema.   So is ...

 
forum_thread

Exception when dataset bigger than treshold

I was working on reporting service for my application and found a problem with datasets bigger than treshold set in objectdb.conf.   ... 96M "fixes" the problem - with 96MB can run this query in memory, so no temp files. Doctor works fine with low treshold values ...

 
manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database.... . Database updates are collected and managed in memory and applied to the database when the transaction is committed: em. ...

 
issue

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList() opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file: ------------------------------------------------------------------------------------------------------------------------ [2016-07-13 19:58:12 #1 store] Database '/home/gsi/wdsync/db/Media_wdsync.odb' is opened by 12659@server ... this specific query? Yes. I suspect a JVM memory shortage problem as I'm running in an embedded system (ODROID-C1) ...

 
forum_thread

Handling deleted references

Hi support team, I have a problem when using DELETE query to delete Entity instances. We use the following hierarchy: ... instance does not exist in the database the object in memory stays hollow. This behaviour cannot be changed. ObjectDB does ...

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... For instance, you can increase the maximum allowed memory and instruct Java to run in server mode in order to enlarge the cache ...

 
manual

[ODB1] Chapter 5 - JDO Connections

The PersistenShows how to use database connections and transactions in JDO. ceManagerFactory interface represents a factory of database connections. Its main role is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction interface represents a transaction on a database. Every operation that modifies the content of the database requires an active transaction.[toc hidden:1]... are associated with that transaction and are kept in memory until the transaction is ended. If the transaction is ended with ... but in this case changes are only performed in memory (they are never propagated to the database). ...

 
forum_thread

Connection is closed (error 526)

Serval times I found the c/s method will close by unknown reason, when I read only the db. ... Maybe you are trying to load the entire tree into memory. Try replacing EAGER with LAZY . ...

 
forum_thread

evictAll() behavior

I'm writing a multi-user drawing tool, using objectdb as the central store.  When a user press F5, I want to pick up all the changes from the database.  So, I call evictAll() in the following ways: pmf.getDataStoreCache().evictAll();  // the factory pm.evictAll();                                 // the persistence manager A couple of questions about this: 1. the first evictAll() seems to be clearing the L2 cache -- is this correct 2. the evicts only work when they are done inside a transaction -- is this specified in the JDO spec?... a lot of object in one transaction and i want to reclaim memory after commit or even better after flush but  I can imagine that ...

 
forum_thread

Query perfromance problem

Hi, I was playing with paging and sorting recently and after trying few different aproaches got some strange behavior from ODB. First of all, I will show you results from page rendering times, but trust me - when debugging application, getting data from ODB takes a long time in one case. Anyway, one of my methods in DAO looks like this: ... of I/O activity after first query, so I assume data are in memory already.   ...