This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 194
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: 3476

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.
subject: SEAM-Context variables hanging on
Similar Threads
Servlet Context parameters
passing variables
Stack & heap for Static methods
context and static parameters
web container in distributed enviornment