Glassfish memory leak?

I have been developing a flex application and noticing that my Glassfish server seems to be using more and more memory each time I tested the application.

Specifically, it seems that to take more memory each time it runs .java files that query from SQL database (just select). Even though, it’s basically the same operation it seems that after I test my application for 30+ times it stopped responding and I have to restart the server.

Does anyone know what’s wrong?

Answer

Problem Solved: By re-writing .java each time query is made factory manager still stays on the server so I have to close it after I use it.

Attribution
Source : Link , Question Author : Community , Answer Author : Community

Leave a Comment