About size

forum_thread

Server closes if large query runs out of memory

We are using ObjectDB in production, and have found what we thing to be a serious problem:  the objectdb server can run out of memory and stop if a query deals with too many objects. This isn't the behaviour we expected for a product that we want to use to deliver 24/7 high-volume data collection. ObjectDB surely has some idea of the sizes of objects that it persists and retrieves, and so should be able to fail safely if it finds too many objects being retrieved to fit into memory. There must be some alternative to crashing! ... Maximum file size: 32 MB 0 ...

 
forum_thread

Replaying recorded requests...

Hi, I get the following when ODB starts in embedded mode: Replaying recorded requests... then I get something like 500 lines of recordset information. Here is the relevant part of the config file: Questions: 1) Why am I seeing this if I've set recording enabled to false? 2) I... the config file: <database > <size initial = "256kb" resize = "256kb" page = "2kb" ... Maximum file size: 32 MB 0 ...

 
forum_thread

Remove a modified entity cause an optimistic lock exception

Hello, the following examples load and modify an entity, and load and remove the same entity. The first example 'SetAndRemoveIssue.java' is a simple java program which executes without errors. The second example is an OSGi program which fails with an optimistic lock exception. Both examples are equivalent, please execute SetAndRemoveIssue.java (in the OSGi example as a plugin-test). Can you explain the optimistic lock exception? ... We started exploring your question, but the size of the OSGI test case makes progress very slow. Thanks for writing a ... Maximum file size: 32 MB 0 ...

 
issue

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some filed is initialised i got an exception   Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker at com.package.Network.__odbSet_Connections(Network.java:1) at com.package.Network.<init>(Network.java:95) at com.package.EnhancementTest.main(EnhancementTest.java:14)   ... I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation ... Maximum file size: 32 MB 0 ...

 
forum_thread

Entity Type is not found (error 301) in Query

Overall test OpenJPA, HibernateJAP, EclipseLink and ObjectDB. No Problem with OpenJPA, HibernateJAP, EclipseLink For ObjectDB there is one query in following method, where the full qualified class name is necessary. See method code - red part Otherwise an error will occure. ... if ( list != null && list. size ( ) > 0 ) { throw new ... Maximum file size: 32 MB 0 ...

 
forum_thread

JVM crash when using IBM JDK 1.6.0

The FAQ states in the system requirements only that a JDK/JRE 1.5 or 1.6(prefered) is required. When I try to use the IBM JDK 1.6.0 I get a GPF exception while creating the entity manager. Looks like a call to putInt on sun.misc.Unsafe object Does this mean there is a BUG in the IBM JDK or are not all JDK's supported? ... range from:0x00007F00CBFB1000, to:0x00007F00CC9B2000, size:0xA01000) 3XMTHREADINFO3 Java callstack: 4XESTACKTRACE ... Maximum file size: 32 MB 0 ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... The current theory is that this may be related to the size of the objects that are being stored. The process in test was working ok ... with the uncompressed data) and is help as a string. The size is certainly larger than 2k and is likely to be in MB. The second ...

 
forum_thread

Failed to read the value of field using reflection

I have recently encountered an issue with reading objects: ... Source) objectdb.java.util.ArrayList.size(Unknown Source) Player.toSFSObject(Player.java:45) <-- this is my code from here. I am trying to access the size of a List of an object I fetched from the database. ... The ... Maximum file size: 32 MB 0 ...

 
forum_thread

Using the wrong class to access a database

Hello, just starting to test ObjectDB and ran into a problem. I've created a small program to test the Point database described in the Getting Started section: ... ( "number of entries: " + results. size ( ) ) ; }   static void ... Maximum file size: 32 MB 0 ...

 
issue

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 ? ... (see the heap dump attached). The database size is pretty small (1.4 GByte). Any idea ? ... Maximum file size: 32 MB 0 ...