The memory will not go away until the GC decides to clean up the
objects. You may want to try to force a GC for testing reasons and see
if that shows that it is working fine (then you can remove the call to
GC as you should never call it directly)

On 5/14/07, Pfau, Oliver <[EMAIL PROTECTED]> wrote:
Hi,

I have made some test with my JSF portlet regarding memory consumption
with liferay and tomcat. The memory usage increases up to 1,1 Gbyte.
After closing the session and waiting, the memory usage does not
decrease.
In detail I store a big PDF as byte[] in the session, show it and remove
it from the session but the memory usage remains on the highest value.
That's strange I think.


Reply via email to