Hello All,
In Our bussiness application, we are using hibernate.While searching I am getting OutOfMemoryErrors.
The criteria of searching is as
1. We enter the search criteria.
2. Objects from the table are soughted out. Each object is retrieved as a
Id and is stored as collections.
Memory consumption increases with every search.
I closed the session factory, but even with closing, flushing or clearing every session and sessionfactory that is available, it just did not work.
Please help me fro the same.
I will appreciate any help. I have tried hard but didnt got to any possible cause.
Please help me.
|