About results

forum_thread

Connection is closed Caused by: java.io.EOFException

I am getting this exception on a regular basis, after a period of time of repeating the same code execution.  I don't understand why.  I restart the DB server and my code works again for another period of time until same exception is encountered again.  I cannot pin down a pattern e.g. after a certain period of time,  because the time  periods between exceptions are not regular, although frequent.  Any test case  I use will pass most of the time but will fail after an undetermined period. ... max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> </database > ...

 
forum_thread

Field not persisted in abstract class with two level of nesting

Hi, I have a field (embedded TZ1) which is not persisted in class MHD1 (TZ1  extends AS and AS extends ATT). But it seems to work fine when I skip the AS and make TZ2 extend directly from ATT. Here is an example code MHD1 #1 2014-06-18 12:52 Hi, I have a field (embedded TZ1) which is not persisted in class MHD1 (TZ1  extends AS and AS  ...

 
forum_thread

Log is almost empty (log level 'trace')

Hi, Using 2.4.6_01 version on Linux (2.6.18, VPS)..  Just wondering what should I suppose to see in a log file with a log level 'trace'/'debug'.. Trying to fix an issue that server version sometimes accidentally quits without any notice.. My log file (independently on whats specified in config file) has only database open/close messages, some query.compiler info but nothing more..  Is that right behaviour? Are there are server statistics API/logs available? Regards, ... try to play with inactivity timeout and let you know results. Yuri edit ...

 
forum_thread

Exception while accessing the Persistence unit ...?

Hi, I am new to ObjectDB I was trying your eclipse/jee6/glassfish tutorial. I am getting the following exception: #1 2012-04-09 04:39 Hi, I am new to ObjectDB I was trying your eclipse/jee6/glassfish tutorial. I am getting the following ex ...

 
forum_thread

High memory consumption even after close() of EntityManagerFactory

Hello, we still have memory usage problems. When debugging, we have now observed a case in which the execution of multiple queries increasingly byte array were generated (about 1.5 GB) which from GC could not be released. Not even after the EntityManagerFactory closed. We created a small test 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 a query (on a different database). ... Other lists, including query results, flush updates, etc. are not affected by the new option, but can be ...

 
forum_thread

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : <URI>::=(<sUrl>, <cMark>, <iSize>, <baBody>, <id>) <sUrl>::=String <cMark>::=char <iSize>::=int <baBody>::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, #1 2011-08-18 02:10 I store images into objectdb. The schema is : <URI> ::= ( <sUrl>, <cMark&g ...

 
forum_thread

Password Protect Database File

Is there a way to encrypt the odb file so that if hackers somehow steal it they cannot access the data without some kind of password? I would imagine accessing the database from java could just have another connection parameter while accessing from explorer.jar/exe would need to prompt the user for a password for encrypted odb files. ... by ObjectDB, but you may be able to achieve similar results (not very good but maybe better than nothing) by encryption files on ...

 
issue

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

Please check the attached database file. When running the Doctor, I get   Global Value Errors ------------------- [1] Unexpected last index ID: -119 (expected -116) Page Content Errors ------------------- [1] Page #9 entry 0 has unexpected object format [2] Page #9 entry 0 (key 'bjjl') has 75 extra bytes   Both errors are not fixable. When creating a new db file with the Doctor, this file yields the same errors. Please advise.  Bug Version: 2.4.0 Priority: Normal Status: Fixed Replies: 6 Type:  Bug ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... = "64" /> <query-cache results = "256mb" programs = "5000" /> </database ... various tasks, including cache of query programs and query results. Calculating the required heap size based on expected activity ...

 
forum_thread

Degrading performance overtime

hi, We have an application that uses embedded odb database. We have configured odb to start at 50meg chunks and grow at 50 megs a time. as the files become larger between 1 and 2 gigs we start to see considerable degrade in performance caused internal objectdb locking: ... max-threads = "10" /> <query-cache results = "8mb" programs = "500" /> <extensions ...