openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: Memory Usage
Date Mon, 29 Jun 2009 15:01:21 GMT

  Having a single instance of EntityManagerFactory and making it live for
the entire application lifetime is a good practice. Can you tell us how the
persistent domain classes for are being specified (and loaded) for the
  For example, do you declare them in <class> clause of persistence.xml? Or
in a orm.xml file? 
Or are they not declared at all explicitly and loaded dynamically by the
Also is the application using multiple classloaders to load these classes?

  The container in PCRegistry that has occupied so much memory in the
described profile is used to hold persistent domain class information.
Knowing the classloading behavior of the application will help diagnosis.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message