About cache

issue

Exception Failed to read from file

Hello, we have found several these exceptions in our log ... to read from file 'C:\SafeQORS\server\cache\MainORSCache.odb' (error 117) at ... com.objectdb.jpa.EMImpl.find(EMImpl.java:514) at com.ysoft.cache.objectdb.ObjectCacheDB.deleteInOpenTransaction(ObjectCacheDB.java:361) at com.ysoft.cache.objectdb.ObjectCacheDB.delete(ObjectCacheDB.java:356) at ...

 
api-jdo

flush()

Flushes all dirty, new, and deleted instances to the data store.(Method of javax.jdo.PersistenceManager)

 
issue

Sort of very large objects - out of memory

The attached test is failing with an out of memory exception when running with -Xmx512m It performs the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object creation time and priority The message size should be around 1mb so I think there should be around 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for reference. ... 11mb of "live" data in play at any time. The objectdb cache settings are low in the config - database section is below for ... = "true" /> <processing cache = "8mb" max-threads = "10" /> <query-cache results = "0mb" programs = "500" /> ...

 
api-jdo

hashCode()

Return the cached hash code.(Method of javax.jdo.identity.SingleFieldIdentity)

 
api-jdo

evictAll(pcs)

Mark a Collection of instances as no longer needed in the cache.(Method of javax.jdo.PersistenceManager)

 
api-jdo

evictAll(pcs)

Mark an array of instances as no longer needed in the cache.(Method of javax.jdo.PersistenceManager)

 
api-jdo

isLoaded(pc, field)

Return true if the field is cached in the calling instance.(Method of javax.jdo.spi.StateManager)

 
api-jdo

setIgnoreCache(ignoreCache)

Set the ignoreCache option.(Method of javax.jdo.Query)

 
api-jpa

SharedCacheMode.DISABLE_SELECTIVE

Caching is enabled for all entities except those for which Cacheable(false) is specified.(Enum Constant of javax.persistence.SharedCacheMode)

 
api-jdo

javax.jdo.annotations.PersistenceCapable

Annotation for whether the class or interface is persistence-capable.(Annotation of JDO)