Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

My app displays memory leaks: please help

Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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,

What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!