ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh

Objectdb server out of heap space

that run on Java JVM, such as the ObjectDB server, are limited to the maximum heap size of the JVM, so they cannot have full control of resources. However, you can easily increase the maximum JVM heap size ... , if it is to be reliable, should be able to monitor memory use, and check the sizes of requests for data so as

-XMX settings recommendation

The default is 256M what is the recommended settings based on? It is the size of the DB? number ... is better, as long as you have sufficient RAM. You can track the actual heap size in production and see if it is sufficient. If you have RAM constraints and the heap size is tight, you may have to reduce

Query only works correctly when debug printing results

(); //Start of debug printing System.out.println("result size: "+results.size ... != null) { System.out.println("rle reqList size "+reqList.size()); for(RequirementDBEntity

TYPE Expression

();         System.out.println("Size: " + resultList.size());         em.close();         em = emf ... ();         System.out.println("Size: " + resultList.size());         em.close();         emf.close

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

size="50" user="true" password="true" />                 <log path="$objectdb/log/" max="8mb" stdout ... >                 <size initial="256kb" resize="256kb" page="2kb" />                 <recovery enabled="true ... inactivity-timeout="5" />                 <url-history size="50" user="true" password="true

Handling "is null" in where clause

");     List<EntityA> resultList = query.getResultList();     System.out.println("ResultList size = " + resultList.size());     if (resultList.size() == 0) {         throw new Exception("There is no EntityA with simpleField == null ???");     } } ResultList.size() is always 0

Failed to commit transaction: Java heap space (error 613)

: a) What do you suggest to fix the issue above at the root - other than increasing heap size (currently not ... threads) if this happens again. To avoid this issue without increasing heap size ... (server side) cache size Query cache size Client side cache settings You may try each

NullPointer when accessing persistent field

.NullPointerException at com.objectdb.o.ISP.size(ISP.java:153) at com.objectdb.o.CLT.visitRefs(CLT ... ();         System.out.println(list.size());         em.close();         emf.close();     }     @Entity ... .NullPointerException: null java.lang.NullPointerException at com.objectdb.o.ISP.size(ISP.java:153) at com

Unexpected exception (Error 990) on find

is indeed related to the size parameter. Unfortunately it would be very difficult to locate the source ... size 256 is indeed the limit, i.e. what is the maximum size that does work. Maybe the problem is related to the size of the values indirectly, since objects that are larger than 2KB need

java.lang.NullPointerException during access a field, only if the classes enhanced

) at com.objectdb.o.ISP.size(ISP.java:174) at java.util.HashSet.<init>(Unknown Source ... .NullPointerException at com.objectdb.o.ISP.size(ISP.java:175) at com.objectdb.o ... .objectdb.o.IVP.m(IVP.java:155) at com.objectdb.o.IVP.l(IVP.java:137) at com.objectdb.o.ISP.size

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support