About class

issue

GC overhead limit exceeded

I had some memory problems with a process running over the weekend and received the following exceptions in the objectdb log: 1) ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
forum_thread

Iterating over large result set

Hi, Few days ago I was writing some code to iterate over quite a large dataset. Fitting those data in memory was quite a challenge even with 3GB heap space. So I did paging using two loops. ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
forum_thread

Bidirectional OneToMany is slow on updated items

Hello, I have a problem with the following situation. I insert persons with addresses. In the first run, they are all new with a new address. It runs fast. In the second run, the persons are all loaded and got a second address. This seams to be much slower. The Entities are all enhanced by the javaagent (which you can see in the contained eclipse launch configuration) Is there any way to speed it up?       ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
issue

spuriously objectdb objects have null references

from time to time we have in a multi threaded environment objects where all the references are null (i.e. references actions, childNodes), even after a subsequent refresh. we are using a separate entityManager per thread and have a central point where we encapsulated all the needed entitymanager methods and protected them with synchronized like:   ... ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
forum_thread

Date field Index is corrupted due to time change

Hi, can you shed some light on why we cannot delete data from the attached DB file. A delete attempt with DB explorer results in the following exception: ... persistence . Version ;   public class DeleteTest {   public static void main ... , } ) public static class DateTime { private Long id ; private ...

 
forum_thread

Several parallel threads to speed up query on one DB

Hi, I have an application: producer (from a DB) to a consumer. The current bottleneck is the producer from DB (based on a query) and I would like to speed it up. I have tried using several entity managers (same DB instance) to benefit from the parallelisation - but it looks like I don't get much benefit from doing that.  ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
issue

Corrupt database page

Hello, we have encountered an issue, where a page of the database became corrupt. We are wondering now, if you know of any issues that can cause this problem. We would be grateful for your help. Best wishes, The BTC-ES team   ObjectDB Doctor [version 2.7.1_03] Copyright (c) 2017, ObjectDB Software. All rights reserved. ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
forum_thread

Suspected memleak caused by bad state of EntityManager

Our application manages the Entities itself, so we close the EntityManager after every creating and using. We find a slow memleak in our application recently, and by trace of Entity construct and finalize, we found the problem is caused by bad state of EntityManager. After first throwing the InternalException, the EntityManager throws every time when doing merge operation, but it can be closed and retrieved by EntityManagerFactory, and the instances of Entity constructed by ObjectDB can never be released by JVM.There is a chart describes the instances exists in memory.... at com.objectdb.o.JPE.h(JPE.java:163) ~[JPE.class:na] at com.objectdb.o.ERR.f(ERR.java:69) ~[ERR.class:na] at com.objectdb.o.OBC.onObjectDBError(OBC.java:1493) ~[OBC.class:na] at com.objectdb.jpa.EMImpl.rollback(EMImpl.java:295) ...

 
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. ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...

 
forum_thread

Difficulty with the BIRT plugin

Hi, am trying to get the BIRT plugin to work. Firstly: connecting to an odb server doesn't seem to work (incompatible versions) - but there isn't any way to find out what version the BIRT plugin is using. Next: connecting directly to a file datasource seems to work, in the sense that I can ping the database, however, there doesn't appear to be any way to create a new Data Set from the Data Explorer, as suggested in the online manual: ... . You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D). ...