Linked by Thom Holwerda on Fri 14th Sep 2012 02:30 UTC, submitted by MOS6510
Java "As a typical Java developer I never monitored the memory usage of my application apart from following typical best practices like closing the connections, streams etc. Recently we were struck with few issues in our JBoss servers that I had to dig in to the memory management."
Thread beginning with comment 535274
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE[8]: Memory management
by raboof on Sat 15th Sep 2012 22:19 UTC in reply to "RE[7]: Memory management"
Member since:

There is little need, however, to have fields that would become unused while the owning object remained in use. In such a case, they shouldn't be fields. That's not to say that people won't do the wrong thing. I assume that's what you were talking about with your code smell comment.

Yes, exactly.

Reply Parent Score: 2