File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes SEAM-Context variables hanging on Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "SEAM-Context variables hanging on" Watch "SEAM-Context variables hanging on" New topic

SEAM-Context variables hanging on

Pat Peg
Ranch Hand

Joined: Feb 04, 2005
Posts: 195
I know this is a huge and vague question...

We have an app- a large app, that is eating memory. We think the context variables in the manager class are persisting even after they shouldn't. So the general question is-why would this be?
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Your question is really vague but I suggest that you check the scopes you are using. Maybe you are storing a lot of things in the session-scope (for example)?
What about profiling your application? VisualVM, jProfiler and YourKit are all useful and will shed a lot of lights on the dark corners.
I agree. Here's the link:
subject: SEAM-Context variables hanging on
It's not a secret anymore!