Hibernate version: 3.0
Name and version of the database you are using:Oracle 8i
I have a servlet that opens a hibernate session, loads bunch of POJOs in to the memory, basically it is a POJO tree kind of structure. It is rather a large data structure. After those POJOs are marshalled in to an XML stream servlet ends and hibernate session is cleared disconnected and closed and done, but even after everything is complete, memory allocated doesn't drop, looks like all the POJOs are still in the memory.
What is a good way to clean the memory in this situation. I don't use and http session or static referer in the servlet.
thanks,
ali.
|