About ram

manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... temporary path, as demonstrated above. Using RAM is much faster than using temporary files. Therefore, temporary files are ...

 
forum_thread

in-memory and on-disk support?

I've had a quick read through the features/FAQ and haven't been able to find a clear answer. I'm looking at replacing a setup of H2 where I have 40GB in-memory backed by 800GB on-disk, the 40GB in memory represents the first 40GB of the 800GB on-disk for super-fast recent entry searching, the records at the end continuously purge as the new ones come in(duplicate write, one to in-memory and one to on-disk). ... The small database (40GB) will be managed on a RAM disk / RAM drive . Both databases can be managed in embedded (in ...

 
forum_thread

Object DB In memory : without Filestore

Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I think that will give the best performance. The reason we are exploring is restoring state is possible for us through replaying the logs, however we want easier data structures which is really good with ObjectDB along with Concurrency controls and transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. ... used completely in memory with no hard drive, by using a RAM drive .     ObjectDB ... used completely in memory with no hard drive, by using a RAM drive.       can u give me ...

 
forum_thread

In memory processing for ObjectDB

Hi there ! We are building a platform for trades processing where we want to keep our processing speeds very high. We like ObjectDb because its simplicity and the performance benchmarks, but to take it to next level really we wanted to check whether is there any In memory mode available for ObjectDB where recovery is possible, something like prevalyer etc. ... You can use ObjectDB in a pure in memory mode by using a RAM drive . However, high performance is also expected when using ... on an ordinary drive with a large cache, or if large RAM is available and used by the internal operating system cache. ...

 
forum_thread

Memory leak with OutOfMemoryError exception

Hi, I'm new to using object databases. Currently I'm experience the following error: ... default ObjectDB settings: Temporary data RAM threshold . Page cache size Query ...

 
forum_thread

Soft Reference Object Cache Recommendation

(Trying again.  Last post, ~50 minutes to compose, failed, possibly due to an attachment upload size limit being exceeded before the post attempt.  =(  ) ... (JVM) does a full Garbage Collection (GC) when heap RAM gets low for my application.  This would use a Least Recently Used ... needs to be read and sits in the cache until more heap RAM is needed. @ Override public void jdoPreClear ...

 
forum_thread

Cache usage

after a runtime of several weeks we are now analyzing the usage of the cache and so on. Looking at the heap dump we suspect that the cache is really used (see heap dump attached), the RAM allocated by objectdb is much less than we would expect. The database file has around 25 GByte of size and there is heavy traffic of around 400 clients communicating permanently via webSockets to the objectdb. The config is attached as well. The question is: is the cache really used ? ... the cache is really used (see heap dump attached), the RAM allocated by objectdb is much less than we would expect. The ... the OS manages its own cache and can use all the free RAM for database file pages, so if you have sufficient free RAM it is expected ...

 
forum_thread

ObjectDB shuts down

Hi, we have a problem with OBjectDB shuts down every few days, sometimes every day. It always happens in the morning ie. after several hours of inactivity although we are not sure if this is the reason. Last night we maintained constant activity during the whole night (user were frequently using the application) and DB was OK. ... out of memory, in order to keep the necessary amount of RAM available for itself. I experienced something similar when my app server ... We monitored the DB server RAM usage and it is max 2%, server has 16GB RAM altough it is a 32bit CentOS. ...

 
forum_thread

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity). 1/ I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed that there is one thread (ODB FileWriter) running for each open DB. ... every 10 new entity) - I run it on a VPS with about 4GB of RAM. 1/ I use the default objectDb.conf (i mean i dont use any - so it ... should tweak? I think I need to understand how the RAM is managed by ObjectDB for each open DB -  Any help/direction ...

 
forum_thread

Performance with large databases

When populating a large database (10s of GBs) performance drops suddenly at a certain time whenever I run the populating application.  Is there typically a database size when indexes can no longer be held fully in memory or some such issue?  The method calls that suddenly start to take the most time are those that retrieve data from the store. ... the ratio between the database size and the available RAM. As long as the available RAM is larger than the database, the entire database can reside in memory ...