I think my application is leaking. Over time the size of the Java process
grows but never shrinks back down.
I'm not sure of the best way to find the leak. I can't afford expensive
profiling tools like OptimizeIt, etc...
It may be something as simple as a design flaw on my part... Here's my
design:
requests come into a servlet which creates vectors of objects from database
data. These vectors are stored in the request scope and then I forward to a
JSP page where the results are displayed from the Vectors.
I assumed (incorrectly?) that since they were in the request scope they
would be garbage collected after the request was over (which is when the
page has been sent to the user, right?). Is this not the case?
Any help/suggestions anyone has would be great!
Hunter