IntelliJ Java IDE
The moose likes Object Relational Mapping and the fly likes My app displays memory leaks: please help Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Object Relational Mapping
Reply Bookmark "My app displays memory leaks: please help" Watch "My app displays memory leaks: please help" New topic
Author

My app displays memory leaks: please help

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 383
Hello,

I am new to hibernate and I have the following problem: my app has memory leaks or an abnormally high memory consumption...

-My question is should the entity manager be a static variable?
-How can I control the cache, flush it?


Here are some classes that I suspect are the culprits of the above problem:





Any clue?

Thanks in advance,

Julien.
 
 
subject: My app displays memory leaks: please help
 
Threads others viewed
javax.persistence.PersistenceException
Exception in deployment of ejb ear
Servlet not pass the value
Query after JPA collective update not getting updates
Save POI Excel file in JSF
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com