tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: tomcat memory usage questions
Date Tue, 03 Oct 2006 14:26:38 GMT
> From: Robert Harper [] 
> Subject: RE: tomcat memory usage questions
> Care in development should be taken with respect to use of objects and
> having circular references. You can cause memory leaks with circular
> references because you might leave free and object from the servlet
> but then have two objects referring to each other and the GC will not 
> see them as having gone out of scope.

Simply not true.  Only reference counter collectors have issues with
circular references, and no modern JVMs use that technique.  A set of
objects that are referenced only by themselves are not reachable from
the roots and are easily collectable.

Here's a decent reference for memory tuning:

 - Chuck

MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message