About memory

release

2.4.3

... space. Removed a shutdown hook that leads to memory leak ( issue #63 ). Completed missing documentation ... UPDATE & DELETE queries). Fixed memory leak issues. Fixed server hang and deadlock issues. ...

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

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

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

 
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

Explorer in 2.3

First, the new Explorer in ObjectDB is fantastic! This is exactly what we've needed - an easy way to do ad-hoc JPQL queries and navigate through the results and even make small changes to primitive data and Strings. After playing with it for a while, here is a list of additional features I'd love to have: 1. Export of selected data: a. Simple - Select a range of cells or a column header and copy text to the clipboard or save to a file (csv, html, etc..). (There appear to be copy menu options, but I cannot get them to work.) ... parameters in objectdb.conf (size, threads, query-cache, memory usage, etc...) to use for tuning b. Show all database ...

 
issue

InternalException caused by OOM: Metaspace

Our java server app using objectDB threw this mistake. Looks like due to OutOfMemory exception, but the app was running with -Xmx12G and before the mistake there was used 1,6G from that heap. Although Metaspace can happen independently on the heap usage I believe. Stacktrace follows: ... The stack trace indicates out of memory situation in Java 8 Metaspace (not the JVM heap) when ObjectDB is ...

 
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

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

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