About size

forum_thread

Issue with orphanRemoval and multiple EntityManagers

Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the following issue: ... Hi, We have a problem where our database size grows over time more than expected. We've traced it down to the ... println ( "Number of addresses: " + res3. size ( ) ) ; em. close ( ) ...

 
issue

Schema-Update: Rename superclass and remove one subclass

Hello, we renamed a superclass and removed one of the subclass. If we then try to open the Database (with ObjectDB-Explorer) we get a "Failed to generate dynamic type ..."   Small Example: Generate Database ... ) ; System. out . println ( "size: " + result. size ( ) ) ; We get an exception: ...

 
forum_thread

user defined backup target

Dear objectdb Team 1. I could not find a way, to declare the name of the backup-file (while running the database).  The only way I found is to create the folder in which objectdb will copy the database - file:   ... does (minimum) one database-file backup per day and the size may be in between 100 MB to 1GB (without documents) which means the size of the backup directory will increase rapidly. To avoid some losts there ...

 
issue

Out of Memory - Slow leak?

This is a continutaion of Issue 61 - unfortunately it doesnt seem that the fix in 2.2.9_03 has fixed the problem. The scenario is still the same: I have two "producer" processes which insert messages into an objectdb "queue" database running with an objectdb server process. I have one "consumer" process which reads messages from the queue database and inserts these into an embedded "normal" objectdb database. This is the process which has generated the OOM exception. ... with -Xmx1g and the "consumer" runs with -Xmx2g. Message size is approx 1k and there should never be more than 2 messages being consumed ... also the servers, with different configuration (page cache size, query cache size) for the metadata server and the data server. ...

 
issue

Large query parameter - out of memory

I have an entity object composed of an id, large data in the form of a string and the hashcode of the string as an index. The attached test saves 2000 of these objects, writing the data to a txt file as it goes. It then loops through the data from the file and queries for the entity id based on the data hashcode and the data itself. ... a failure of ObjectDB in evaluating cached query result size. Since Java doesn't provide information on heap memory size of data structures - ObjectDB does its own evaluation. Every cached result ...

 
release

2.3.6

... Improved performance of collection and map size evaluation in queries. Fixed a critical bug in page caching ... ) in range queries. Fixed cached result size evaluation to include query arguments ( issue #91 ). Fixed ...

 
page

ObjectDB Object Database Features

ObjectDB provides a rich set of features, many of them as the result of supporting the JPA and JDO APIs.... Database file size up to 128 TB (= 131,072 GB = 134,217,728 MB). ... operators & functions (IS EMPTY, MEMBER OF, SIZE). Java standard methods in ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... null ) ; assertTrue ( readings. size ( ) == 2 ) ; }   ... ( tmpDoc. getReadings ( ) . size ( ) == 2 ) ;   tmpDoc. ...

 
forum_thread

Fetching Collections Puzzle

I am working on a project where I need to travel through a massive graph of objects. One of the main entity is the Node which is shown below. class Node { Node parent List<Node> children Node rightSibling Node leftSibling int rank } I have the following issues/doubts ... Eager, the children field of all my retrieved nodes are of size zero When I declare the FetchType as Eager, then isn't ... accesses its content (e.g. by invocation of the size method) it is filled automatically. Unless the Node object is ...

 
forum_thread

ObjectDB eclipse plugin

Hello, Creating an eclipse plugin from the downloadable objectdb.jar file DOES NOT work in the eclipse OSGi environment (at least that is my experience). Could we have a genuine eclipse plugin from ObjectDB that works? You already have a pluging that integrates Objectdb with BIRT, so it seems it should not be difficult. The downloads could now have both the eclipse plugin as well as the usual jar. Let me know what you think.   Thanks ... my application that currently has 15 eclipse plugins. The size of objectdb.jar is 1.29 MB ( times 15 = 19.35Mb!) - a significant increase in size. With a single eclipse plugin I only objectdb would only contribute an ...