This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "SEAM-Context variables hanging on" Watch "SEAM-Context variables hanging on" New topic
Author

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
Bartender

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
Stack & heap for Static methods
passing variables
Servlet Context parameters
context and static parameters
web container in distributed enviornment