memory « Tomcat « JPA Q&A





1. Leaking memory using Hibernate + mysql in Tomcat - Help    forum.hibernate.org

Hello, We are leaking memory in our webapps, and using some of the heap analyzers we are able to narrow it down to potentially leaking connections. Some of the top leaks as shown by jmap are in the bottom. The webapp uses hibernate 3 with mysql 5.0.4 driver. It also uses a framework to help beans do the query. Most of ...

2. "Out of Memory" storing Files using Tomcat and Pos    forum.hibernate.org

Hello, I'm having problems storing files into a database. The main problem is that I have to upload the entire file to memory to pass it to the hibernate object. I,m using a "bytea" colum in PostegreSQL to store the files. So, I mapped that column using Binary. When I generate the hibernate object, it expect a byte[] parameter. When I ...

3. Tomcat out of memory    forum.hibernate.org

Hi! I'm building a web app in Tomcat using Hibernate. My Hibernate session is in a threadLocal variable, so there should be one session for each thread. It seems that Tomcat threads terminate from time to time and so more and more Hibernate sessions are being created over time. Another issue is that with each undeploy / deploy cycle when debugging ...