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 Spring and the fly likes Spring web flow Out of Memory issue 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 » Spring
Bookmark "Spring web flow Out of Memory issue" Watch "Spring web flow Out of Memory issue" New topic
Author

Spring web flow Out of Memory issue

chets patel
Ranch Hand

Joined: Apr 27, 2010
Posts: 73

I have developed large web application in spring web flow. But after running for one or two days, it gives me outOfMemory error. I have stored lots of variables in flowScope. I am not able to figure out what might be the issue. Can any one please let me know how can we optimize this. Is there any special way of storing the values in spring web flow.

Thanks in advance.
Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

You will have to take heap dump as it will give you an idea about the type of objects that are taking up memory. Then you can look into how these objects are being created & what needs to be optimized. You can trigger heap dump by setting this JVM option -XX:+HeapDumpOnOutOfMemoryError
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring web flow Out of Memory issue
 
Similar Threads
how to come enter web flow at a specific point
[Spring Web Flow 2] Can Spring Web Flow work with Spring Web MVC?
Difference between spring mvc and spring webflow
How to integrate spring with jasper
Spring books