About SET

forum_thread

RT Java application recording into 100DB run OOM after a few hours.

Hi, I am running a java application that records data from 100 feeds into 100 different database - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue (I checked there is no leak in java - I cleared the entity manager every 10 new entity). 1/ I use the default objectDb.conf (i mean i dont use any - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed that there is one thread (ODB FileWriter) running for each open DB. #1 2015-01-02 20:11 Hi, I am running a java application that records data from 100 feeds into 100 different database - this i ...

 
forum_thread

Maven driven compile time ehnancement

Hi,    Just thought I'd share a small bit of Maven config to aid in enhancing persistent classes during compile time. Just add the following to your pom.xml: ... 361 ) One small change - I explicitly set the class I wanted to enhance. I attached the pom.xml you supplied ...

 
forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... RequirementBasedTestCaseImpl was null. But before it was set. Any idea?   Another point: Can we hope for a ...

 
forum_thread

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain many String. Often some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; #1 2014-01-02 12:04 After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: ...

 
issue

InternalException caused by OOM: Metaspace

Our java server app using objectDB threw this mistake. Looks like due to OutOfMemory exception, but the app was running with -Xmx12G and before the mistake there was used 1,6G from that heap. Although Metaspace can happen independently on the heap usage I believe. Stacktrace follows: ... ) If the JVM MaxMetaspaceSize parameter is set you may want to try increasing the limit. In addition, ObjectDB ...

 
forum_thread

EntityManager JPA or JDO impl and different behavior

Hi, I have an issue with the EntityManager. My persistance XML looks like: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"> ... For the purposes of continuing, I have set my "equals" method in attribute name to look only at the database id. ... created prior to trying to persist the map. So I set the annotation on Holder.java at line 92 to have CascadeType.ALL. The test ...

 
forum_thread

Is there a function of "drop table" or "delete from table"?

Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA #1 2011-08-16 20:21 Besides the em.remove() one by one, is there a function of "drop table" or "delete from table"? TIA ...

 
forum_thread

Insert time increases as db grows.

Hello, ... 21:07 I've just set enhancer as javaagent and everything worked like a charm: the execution ...

 
forum_thread

Problem with Criteria Querys

Hi, i am having problems running following code...   ... do work. The problem was only with p2 that was defined and set but was not integrated into the query (next build will avoid a NPE in this ...

 
forum_thread

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

I'm trying to setup Spring + JPA + ObjectDb in my test environment and having trouble with the following: <bean id="EnvDMSEntityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="persistenceUnitName" value="envService"/> <property name="persistenceXmlLocation" value="com/awarepoint/persistence.xml"/> </bean> Here is the stack trace I get: ... to the non-existing method. Is there some property I can set so that the call to getSharedCacheMode is not invoked? ...