Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring web flow Out of Memory issue

 
chets patel
Ranch Hand
Posts: 77
Eclipse IDE Redhat Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 218
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic