I had similar memory issues although I was not using the Audit feature. For me it turns out that the detach manager seems to be going pretty haywire and every 24 hours or so my host would run out of memory.
I added this to my persistence.xml <property name="openjpa.DetachState" value="loaded(DetachedStateField=false,DetachedStateManager=false)"/> The issue seemed related to the detach manager and using memory dumps I could see that there were thousands of extra objects on the heap for no particular reason. Hope this helps. Bruce -- View this message in context: http://openjpa.208410.n2.nabble.com/Audit-related-memory-leak-hog-tp7580805p7580897.html Sent from the OpenJPA Users mailing list archive at Nabble.com.