About Cache

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. ... The screen shots may indicate a problem in the page cache (which keeps too many pages). This could be the result fixes in ... element - try reducing the number of threads and the cache size (notice that this setting is per open database, so this is ...

 
release

2.2.6

... Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed  TreeSet and TreeMap  element ... in a new ancestor class. Fixed a query cache bug. Fixed several bugs in query processing and running. ...

 
forum_thread

One transaction or two?

If I have a large number of objects to delete and then add to a PersistenceManager is it more efficient to do everything in one transaction or two? Currently my code looks like this: ... may gain some performance in some cases (e.g. if the L1 cache is important in this application). On the hand such a solution is ... operations rather than read operation (in which the L1 cache is important) - performance gain, if any, is expected to be minimal. But ...

 
issue

InternalException

  ... 23:33 Maybe it was a cache problem and restarting the database cleared the cache. Have you changed the persistent model recently (e.g. added / ...

 
issue

Removing of an entity removes also another entity type

Hello, we have following case: ToleranceDefinition and ResolverMapping are entities and have not any relations each other. Before start transaction the ToleranceDefinition entities exist already in the database. Bug Version: Priority: Normal Status: Active Replies: 6 Type:  Bug ...

 
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: ... to storing all the commands and transactions you can also cache the last state in the database. On restore - this cache will be deleted and a new state will be calculated by running the ...

 
release

2.2.5

... Fixed the behavior of CacheStoreMode setting in L2 shared cache. Fixed  TreeSet and TreeMap  element ... in a new ancestor class. Fixed a query cache bug. Fixed several bugs in query processing and running. ...

 
forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. ... = "true" /> <processing cache = "64mb" max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> </database ...

 
forum_thread

find() cost unreasonable time!

Hi, I make a full binary tree of 4095 node, I check the first 9 node, but the root cost 24 seconds, why? Result: ... ) // Success for Inheritance Sonsection //@Cache(size=10000) @ DiscriminatorColumn ( ... Sometimes a refresh is needed to bypass the cache. ObjectDB Support ObjectDB - Fast Object ...

 
manual

[ODB1] Chapter 9 - ObjectDB Explorer

Explains how to view and manipulate database files in the database explorer. ... in the Explorer into your Java code. Refreshing the Cache When a database is open in the Explorer using client server mode, it ... windows in the Explorer might display content from the cache that does not reflect the real content in the database. In this case you ...