Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Dirty checking Performance issue

graffer

2008-07-03

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi guys,

Are there any limitations concerning the persistence cache in OpenJPA? I'm
having an application that loads several thousand entities and then adds
some using em.persist(newEntity);

The problem is that persists takes extremly long (up to serveral seconds per
entity on a server machine)!
The profiler shows me that the persist method stays very long in the dirty
checking:

90,8% - 1.266 s - 31 inv. org.apache.openjpa.kernel.ManagedCache.dirtyCheck

Here is a jProfiler screenshot:

http://n2.nabble.com/file/n220364/persist.gif

Flushing or evicting entities from the session is not possible in this
application.
Can anyone help with this issue?

bye, Georg
--
Sent from the OpenJPA Users mailing list archive at Nabble.com.

©2008 gg3721.com - Jax Systems, LLC, U.S.A.