openjpa-users mailing list archives

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

Hi,
  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
application? 
  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
application? 
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.
 


-----
Pinaki 
-- 
View this message in context: http://n2.nabble.com/Memory-Usage-tp3166851p3174914.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message