IntelliJ Java IDE
The moose likes Other Application Frameworks and the fly likes SEAM-Context variables hanging on Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply 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: 188
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: 3334

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