File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SEAM-Context variables hanging on
 
Similar Threads
passing variables
web container in distributed enviornment
context and static parameters
Servlet Context parameters
Stack & heap for Static methods