ObjectDB Database Search

1-50 of 184 results

Out of memory

; lwalkowski Lukasz Walkowski Some new data. After 5 hours of running database memory usage is quite high ... thing is - allocated memory by storage threads stops at the size of database. Maybe there is some ... to analyze the memory consumption. Currently it seems that most of the heap space is in use for various

Index causes increased memory usage

is consuming MUCH more memory (~8gb instead of ~3gb) than when the indices are not included.  What could be taking up that memory ?  The data load was the same for both tests ... up all the memory on the server?   Thanks, CVTSC cvtsc Dev Team Using indexes should not make

Memory leak while merging parent with No Cascade annotation with children

Hello support, While tracking memory leak in my application i suspected a memory leak in the merging object db implementation. The test case is the following, just run and watch the " Memory Used" by ... ;  for (int n=0;n No memory leak         })    

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

of further entities needs also more and more ram memory , this leads to out of memory exceptions. But if use primitive integers as keys and indices then the memory consumption for new entities is constant ... and indices needs only more ram memory , but not more and more memory . And if the max heap memory is big

High memory consumption even after close() of EntityManagerFactory

Hello, we still have memory usage problems. When debugging, we have now observed a case in ... with which you can observe similar behavior. The huge memory usage only occurs if we execute the query (line 56 to 61). If we remove this query, all is well. The memory is only released after we re-run

in-memory and on-disk support?

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

Object DB In memory : without Filestore

completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I ... the Object DB completely in memory without disk storage. thanks, Sandeep Sandeep Sandeep Dhamale At the moment, ObjectDB doesn't support pure in memory mode, but it still can be used completely in

Server closes if large query runs out of memory

;the objectdb server can run out of memory and stop if a query deals with too many objects. This isn't ... , and so should be able to fail safely if it finds too many objects being retrieved to fit into memory . There must be some alternative to crashing! If this memory estimate is too crude for some people

Memory Leak in EntityManagerFactory ?

Hi While trying to improve our server with profiler I've encoutered some memory issues that I ... and removed from memory (checked in the Profiler) 4. nevertheless there are lots of identical Copies of Entities in the memory ( QPtBearbeiter in the example). There are only 8 entities of QPtBearbeiter in

Intermittent Server Shutdowns Due to Out of Memory (OOM) Issues

is frequently being terminated by the Linux Out-Of- Memory (OOM) Killer. Despite allocating substantial memory resources to the server (90GB total memory on the VM), the java process hosting ObjectDB is being killed due to exceeding memory limits. Here are the specifics of my setup and the issue: Server

Suspected memory leak

Hi, We are running soak testing with Object DB and it is showing signs of memory leak: used memory ... memory dump next time this happens. In the meantime, could you please check if there is anything wrong ... open memory leak issue in ObjectDB. But if it is not something in your application (such as

Need help to analyse very high memory usage by objectdb (PRU, SEV, VAL[])

Hello, we have a useCase in which we consume too much memory and run into a "GC overhead limit exceeded" exception. Nearly 90% of the memory are taken by com.objectdb.o.PRU (49%) com.objectdb.o.SEV (29%) and com.objectdb.oVAL [] (9%). When debugging, we did not get the reason for the high memory

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

During import big logs we are observed some memory leaks inside of ObjectDb, so, could you explain what we did incorrectly or investigate how to fix it ASAP. Source code which causing memory leaks ... above (write a 10-15 Mbytes) need to check remaining memory in any available profiler. Stack trace

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place ... are empty (""). To avoid unnecessary memory consumption, the String within the entities ... object, which is a waste of memory (refer to http://www.cs.virginia.edu/kim/publicity/pldi09tutorials

Is there an update on running ObjectDB purely in-memory?

ObjectDB purely in- memory , without a any file on disk? Note that "file on RAM disk ... - memory mode, as supported by SQL databases like H2 or SQLite. Thanks, David dbb David Blumenthal-Barby ... version 2.6.4. In the configuration you can define suffixes that indicate memory only databases:  

In memory processing for ObjectDB

, but to take it to next level really we wanted to check whether is there any In memory mode available ... have a all of my Objects in Cache ? We can run the embeeded mode for perfomance, or embeeded + in memory ... You can use ObjectDB in a pure in memory mode by using a RAM drive . However, high performance

Performance and memory usage of queries

requires so much memory . In the implementation of our UnitTests we have used "DELETE FROM Object" to delete the database. That did not work because we often get an "out of memory " exception. What's all done in the execution of queries? Why is so much memory is required, although from the application point

Memory error during commit, if @ElementCollection field contains many elements

. But this one runs into memory error and happens only, if we have many elements in the element collection ... a memory error? btc_es BTC EmbeddedSystems When an entity object (such as a TCStep  instance ... content still requires memory space. Lazy setting in JPA is considered as a hint

Memory use in OneToMany relationships

all Instances of B into Memory when we query for A. Example:     Class Pet holds ... more data about that picture. If we assume we load 10 Pet from the DB into memory and assume each Pet has 10 Pictures would that mean that we automatically load 100 byte[]'s worth of pictures into memory

Memory leak

Hi, We have a memory leak in our application which seems to be related with ObjectDB. Basically ... and after execution of query. Our classes are enhanced with ObjectDB enhancer. However, used memory is growing ... % of memory , even after performing GC from the JVisualVM (screenshots in the attachment). Heap dump

Warmup ( preLoad all table rows into memory )

Hi , I have 3 questions for objectdb : 1-) How can i preload all table rows into memory in objectdb ? So i can query fast. I have seen @Cacheable annotation. But i need warmup table to memory ... ; eix128 Kadir BAŞOL How can i preload all table rows into memory in objectdb ? You will have to run

Run out of memory

the uncommitted changes persist in RAM (not the file db), hence I am getting out of memory exceptions ... frees memory at the EntityManager (client side in C/S mode), but the ObjectDB storage engine (server side in C/S mode) still keeps the changes in memory until commit. As a result, the transaction size

Out of Memory Error

Hi Team, We are observing an Out of Memory error while accessing odb files, but it occurs ... that might fill the JVM heap then you should check for a memory leak. This could be caused, for example ... this situations. Please share the main information from the heap dump (when memory is low).   support Support

How to track memory leak with ObjectDb.

Hello, I suspect some memory leak in my application. ( turning app into OOM very fast ) In fact ... ( with Eclipse MAT ), i was not able to inspect carrefully the memory leak issue ... inside objectdb.MST containing some trace of my entities beans. It seems objectdb keep in memory some

Managing JPA Entities

Entities are in- memory instances of entity classes (persistable, user-defined classes ... is to ensure that a database entity is represented by at most one in- memory entity within the same ... can be represented by different in- memory entities in different EntityManager instances

Memory Leak?

Hi, I'm evaluating ObjectDB and certainly new to it. I'm seeing a possible memory leak in ObjectDB or it could be my abusive use of it. Basically I'm adding 1 million objects into ... that I'm using directly that causes ever expanding memory usage. I'm putting my code as a reply

objectdb embedded memory usage ?

    hello , i m making some java application. I will have plan to use that db on java apps but is it possible to use for small embedded apps ? like small android devices or small lightweight java swing clients ?   I donno memory consumptaion increase much or not and initial memory

Doctor - high memory usage

Hi, Is it possible to reduce Doctor memory usage? Right now for recovering 67MB database, I need to set heap space to at least 450MB. Even then whole process takes ages. Optimal setting ... You may try decreasing the temporary file threshold . The Doctor will use less memory and more temporary

Retrieving JPA Entities

the entire database into memory , which is often unacceptable. You can exclude a persistent reference field ... object graph is in memory . This illusion, based on ObjectDB's lazy, transparent activation ... the refresh method: em. refresh (employee); The content of the managed object in memory , including any

Database Schema Evolution

use of old entities after a schema change. When an entity with an old schema is loaded into memory ... happens automatically in memory each time the entity is loaded. The object in the database is updated

JPA Optimistic and Pessimistic Locking

the database to the version number of the in- memory object being updated. If the version numbers do not ... and as e2 by em2 . Note that e1 and e2 are two in- memory entities that represent the same database object

Database Explorer

String instances in the database by using the same encoding that they have in memory , which is usually Unicode. If you store String instances in the database that have a different memory

Database Management Settings

miscellaneous database engine settings: The cache attribute provides a hint for the amount of memory

SELECT clause (JPQL / Criteria API)

), but they are more lightweight, are built faster, and consume less memory . SELECT DISTINCT Queries that use

Storing JPA Entities

the clear and flush methods together to save memory during large transactions: em. getTransaction (). begin (); for (int i = 1; i

FROM clause (JPQL / Criteria API)

that all database objects are available in memory for navigation. However, this feature can also cause

Index Definition

is an ordered map data structure that ObjectDB maintains in the file system, not in memory . The B

JPA Class Enhancer

in memory , if applicable. However, the Java agent enhancer only enhances classes that are marked as

JPA Runtime Tuning & Configuration

when the persistence context is synchronized with the database and when in- memory entity changes are written

Obtaining a JPA Database Connection

. Database updates are collected and managed in memory and are then applied to the database

JPA Connections and Transactions

to the database are discarded. However, by default, a rollback does not affect the in- memory state

Updating JPA Entities

Modifying existing entities in the database relies on transparent persistence, which automatically detects and handles changes. Transparent update After an entity is retrieved from the database, you can modify it in memory within an active transaction: Employee employee = em. find (Employee.class

General Settings and Logging

The configuration element specifies ObjectDB settings that are relevant to both the server and the client. The default configuration file contains the following element: The element To meet memory constraints, ObjectDB can use temporary files when processing large amounts of data, such as query

Server out of memory exceptions

I've started to get memory exceptions on objectdb instances running as a server. The objectdb log ... of where the memory is being used. In each exception case the server has typically been running for 3-4 days ... . Could you get heap dump snapshots - after one day, two days, three days - in order to detect memory leakage

Memory leak in com.objectdb.o.CST

Hi.  I am pretty sure this is something I did wrong.  I have a memory leak ... , will it be normal that these instances are in memory even if entity manager is closed ... ; But if the size can get even bigger, I need to know what affects it so I don't run out of memory

Out of Memory - Slow leak?

the meantime I've attached the leak suspects report from Eclipse Memory Manager in the hope it may help ... themselves!) felixobjectdb Richard Szurgot The fix of issue 61 fixed an important memory leak but unfortunately it seems that it is not the only one. Hopefully the new memory leak can also be fixed after exploring the heap

Large query parameter - out of memory

. After about 300 queries the test throws an out of memory exception so I assume the query data is being held ... behind the test is to create a data cache to prevent the need for large data to be held in memory . The data ... cached query result size. Since Java doesn't provide information on heap memory size of data

GC Memory

Hi there, I was hoping to get some support on ObjectDB regarding memory usage.  I received ... ;The process then loads each segment file into memory and then calls persist on each object.   ... too many large objects in one transaction. Note that only commit can release memory , not flush

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 ... and query execution becomes faster and consumes less memory . Execution of a query as the following using

Inefficient memory usage with very large transactions

When a large transaction is committed, ObjectDB increases some internal structures, i.e. allocates more memory , but from that point the structures remain big and the memory is not released even if all the next transactions are small. This problem was found during a heap analysis (see #9 in