You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by graffer <ra...@gmx.at> on 2008/07/03 15:25:56 UTC

Dirty checking Performance issue

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
-- 
View this message in context: http://n2.nabble.com/Dirty-checking-Performance-issue-tp220364p220364.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.