Internal Website Search

101-150 of 186 results

database optimization

slower than read queries, on the same set of objects.       dmoshal David Moshal Memory ... more efficient because keeping objects in memory for longer time has some overhead (e.g. when objects are moved

ObjectDB JPA 2.2 support ( java.util.stream.Stream )

Hi , in my database i want to fetch resultlist as big chunks.JPA 2.2 has new feature named Stream. So i can fetch all JPA queries with less memory . is there any news for objectdb ? Will you update ... , similarly to the way that JPA 2.2 streams work. To free memory , however you will have to clear

OutofMemory error with Object DB 2.0

;        // This is becasue ObjectDB keeps all items in memory ... , so assuming you have one open database there is a cache memory problem. The heap dump may help in

First query takes 4+ minutes to complete

. SWAP memory is available but never used (no swapping occurs).   POJO We store object of a single ... memory in order to pick the first 50 that will be returned. With the suggested index ObjectDB

More Efficient Primary Keys

Can you give us a recommendation as we can represent the Key (UUID) most efficient? Both in terms of memory usage of the database files, memory usage of the JVM and efficiency for queries. We already need the key before the entities are persisted so that we can build even references. a) Composite

Pooling of EntityManagers

is represented by different memory objects in different EntityManager instances. The possible issue ... , and the new thread that got the ownership on that  EntityManager is working on the same memory

Custom Classloader: Issues with the Enhancer Agent

version in memory first. However, the main issue is that the Agent ... the enhancement to the class and loads the modified version in memory first. Not exactly. The enhancer

Slow loading from db

) there are no issues. During the load, the program is using a lot of memory , but still not ... the number of objects that you load into memory at any given time. If possible, please provide a minimal

Java 6/7 Performance Comparison

and then again after adjusting the objectdb.conf to grant more memory /threads to applications but have not noticed any ... with a profiler (e.g. Java VisualVM) and provide profiling info? support Support Attached is the CPU and Memory

Create simple index for a Id field

retrieval and reading operations (see this comparison ). But obviously a HashMap in memory is faster ... your own HashMap cache in memory for specific objects if you need the extra performance. But note

ObjectDB is opening too many sockets

ObjectDB activity is observed. A heap dumps of the server (i.e. a snapshot of the used memory ) may reveal ... when there is a lot of free memory . So I think, that we would maybe need to run some script periodically

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

without database schema change, and save some space in memory . You can still use StringIdentity ... id; and that might fix the issue, save memory , and not require database schema change (automatically

Performance with large databases

can no longer be held fully in memory or some such issue?  The method calls that suddenly start ... RAM is larger than the database, the entire database can reside in memory (using the OS cache

ObjectDB shuts down

It might be that CentOS starts to kill processes if it runs out of memory , in order ... /Tomee) was using too much memory (out of the total available), thus CentOS was killing it. zmirc

Optimistic lock

I made to the object in memory are retained and I simple need to create a new transaction, persist ... of cause) retain their values in memory . Objects can be restored (to the values in database) by setting

Issue with orphanRemoval and multiple EntityManagers

are not identical. However, enhanced classes are much more efficient in performance and in memory

Is there a way to set EAGER fetch on all "ToMany" collection relationships

as the fetch type of all relationships may cause loading the entire database into memory

Explorer in 2.3

, threads, query-cache, memory usage, etc...) to use for tuning b. Show all database connections

Using of Second Level Cache

, so that the memory for MyEntity2 and MyEntity3 can never be released by garbage collector? class

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) - I run

Removing entity class

. If the database is larger then memory it may become more difficult. support Support

List managed entities for a given entity manager

Hi, Is there a way to find the number of managed entities given an entity manager? My application has some memory leaks - I am doing clear() on the entity manager(s) but may be I forgot some - so if there is a way to know how many entities are managed by each my entity mgr - it would be helpful

Is there any faster select method?

you don't need a SELECT query. By the way, an invocation of persist is very fast because it is a memory

Handling deleted references

the object in memory stays hollow. This behaviour cannot be changed. ObjectDB does not support broken

OutOfMemory in Server

came. Can You give some hint, why this OOM happens? jakab Gergely Jakab The memory allocation

Navigation to Collection Elements

/ PersistenceManager is open. If the referenced objects are not already in memory they will be loaded

EntityManager creation taking long time

. using VisualVM) it may highlight the cause. support Support JVM memory profile: JVM snapshot

Pessimestic Locking doesn't release when application unexpectedly terminates.

with the performance and stability of objectdb server. We've tried various in- memory solutions and Objectdb blows

Performance of "InsertTest"

You provided the "InsertTest" in the following post, and say "On Intel Core 2 Quad Q6600 (and enhancement) it persists 340,000 objects per second". Insertion Speed Rate and Batch Load Now, ten years later, I run it on Intel Core i5-5300U (2.3Ghz) with 8GB memory , output is 45000 per second

Multithreading Test and Deadlock

threads are slower because of higher memory usage (4 x 10,000 x 100 strings x attribute length = many

Significant I/O costs during batch update or insert data.

ObjectDB, which may increase memory usage and cause paging. If you still experience a problem

Bidirectional OneToMany is slow on updated items

the find calls of Address and Person instances with an in memory HashMap and get calls. support Support

how to create in memery database in objectdb

plz can u give or help me how to create in memory database in objectdb   with example yadavanil anil yadav See answer in this forum thread  (also use that other thread for further discussion). support Support

Insertion Speed Rate and Batch Load

This test from the Memory Leak thread uses a separate transaction, and moreover, a new EntityManager

OutOfMemoryError on search after update on DB created with DB Doctor

after the update, any search and CPU use shoots up to 100% use, memory use shoots up and eventually

Connection is closed (error 526)

Lai Yang Maybe you are trying to load the entire tree into memory . Try replacing EAGER with LAZY

Dont want to use Proxy Class

load of the object graph. Without these classes the entire database may have to be loaded to memory

huge heap usage

we are using objectdb 2.7.2_6. At a custumer we have huge problems with the memory consumption (see the heap dump attached). The database size is pretty small (1.4 GByte). Any idea ? hgzwicker Hans ... about the roots and paths that keep these objects in memory (particularly roots and paths

Unexpected error when loading all entity instance

. It seems there was insufficient memory on the maschine. I will observe the issue and update if I find a way to reproduce it. Best wishes doppelrittberger Markus Ritter Insufficient memory may cause a crash

InternalException when using MEMBER OF on a large list in a query

. Can you give us a recommendation as we can represent the Key (UUID) most efficient? Both in terms of memory usage of the database files, memory usage of the JVM and efficiency for queries. We already need

NullPointer when accessing entity field

database object, but each EntityManager has a separate memory representation of that object, and should not use memory objects that are managed by other  EntityManager instances. Apparently

Resource leaking via a rogue Shutdown Hook

static initialiser ( ). Attaching screen-shots of the memory foot-prints with a live application

InternalException caused by OOM: Metaspace

Jakab The stack trace indicates out of memory situation in Java 8 Metaspace (not the JVM heap

Database File Compression

ObjectDB database files are usually smaller than database files of other Database Management Systems (object databases and relational databases) but additional internal compression is still possible. Usually smaller files are also faster because less I/O operations are required and memory cache

ObjectDB 2.8.6

Fixed an issue with viewing class Ids in the Explorer (see issue #2677 ). Fixed a regression bug (in version 2.8.5) in using AS in JOIN ( issue #2666 ). Fixed a connection pool issue related to memory release ( issue #2663 ). Fixed an Enhancer issue in supporting Java 9 modules and packages

Navigation through lazy loading from Detached Objects

yet, but for example, it could affect memory consumption and file closing if detached objects (which are not detached

Terracotta Ehcache Integration

Hello , it will be good if you make alliance with terra-cotta ehcache. Their distributed memory cache is very fast.IF we mix with your engine. It will be very great for us. kadirbasol Kadir BASOL

ODB Doctor Stops Progressing (runs forever)

constraints, possibly memory .  Can you please assist in troubleshooting?    ObjectDB

ObjectDB needs "insert ignore"

could do it with a few memory . I agree the point in the following post, but I cannot reply it. So I

Exception in thread "ODB-StoreHandler-5094" java.lang.NullPointerException

(but not necessaraly) on memory consumption and socket usage, but this could be negligible. support