File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Object Relational Mapping and the fly likes Memory leak with Hibernate as JPA provider JSE Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "Memory leak with Hibernate as JPA provider JSE" Watch "Memory leak with Hibernate as JPA provider JSE" New topic
Author

Memory leak with Hibernate as JPA provider JSE

Marcus Didius Falco
Ranch Hand

Joined: Feb 25, 2007
Posts: 72
Hallo, I am trying to use Hibernate (hibernate-distribution-3.3.2.GA, hibernate-annotations-3.4.0.GA, hibernate-entitymanager-3.4.0.GA) in an JSE application as JPA provider.
I get a memory leak. Heap dump analysis shows that
SessionFactoryObjectFactory is the culprit.



Any ideas what may be the cause of this are greatly appreciated.




 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Memory leak with Hibernate as JPA provider JSE
 
Similar Threads
Problem with schema/postgres
Hibernate: Error getting property 'lastItem'
NoInitialContextException
how to make hbm2ddl.auto work without a hbm.xml file
Programatic Schema Export with Hibernate and EJB3