About size

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. ...

 
forum_thread

Embedded in JDO metadata not working in objectDB 2.x ?

Hi, I am using JDO access to the database with the persistence defined in package.jdo XML metadata files. In those metadata files I have few persistence-capable classes which had extents in ObjectDB 1 (with an OID for every instance) and all other classes were embedded (so without extent and own OID) in those few peristence-capable ones. Example of JDO metadata: ... are: 1. Is the enormous increase of database file size caused by the number of not-embedded objects in ObjectDB 2 opposed to ... > 1. Is the enormous increase of database file size caused by the number of not-embedded objects in ObjectDB 2 opposed to ...

 
issue

[ObjectDB 2.5.6_05] Unexpected exception (Error 990)

[2014-08-24 10:49:32 #33 server] [ObjectDB 2.5.6_05] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) 64-Bit Server VM 1.6.0_25 (on Windows 2003 5.2). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at com.objectdb.o.PAG.<init>(PAG.java:175) at com.objectdb.o.PGC.x(PGC.java:277) at com.objectdb.o.SSS.Y(SSS.java:493)... have enough heap space. Please try to increase the size of the JVM heap or change the configuration to use less heap size. ObjectDB Support ObjectDB - Fast Object ...

 
manual

GROUP BY and HAVING clauses

Explains how to use the GROUP BY and HAVING clauses in a JPA/JPQL query.... group returns the currency and the cumulative population size in countries that use that currency: SELECT c . currency , ... as one group, for which the cumulative population size and the average population size is then calculated. Any JPQL query that ...

 
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

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: ...

 
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 ...

 
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 ( ) ...

 
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 ...