What could be causing java.lang.OutOfMemory?
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, September 23, 2005 07:51 AM


Hello guys,



I have a webapp that uses struts... after some minutes of use, it gives me a java.lang.OutOfMemory error and doesn't work anymore. I was wondering if it could be something related to struts. Does anyone know?



Thanks

Re: What could be causing java.lang.OutOfMemory?

Posted By:   Baseer_Patel  
Posted On:   Thursday, September 29, 2005 06:05 AM

Mamay be becouse of tld that you are using,
If it is so, You can split that jsp page into small pages.
And combine into a single jsp.

This is restriction of parsed size of jsp.

Re: What could be causing java.lang.OutOfMemory?

Posted By:   alan_do  
Posted On:   Friday, September 23, 2005 11:07 PM

hahaha...sux to be you. just kidding. make sure you are not cyclic-chain your actions, that is have 1 action call another that in turns call the first action. there are other silly endless looping and just poor coding (like putting database results into session and have the session time out set ridiculously high). you can try running jprobe against the app and see which part/object/method is using up all the memory.

Re: What could be causing java.lang.OutOfMemory?

Posted By:   Annappa_DR  
Posted On:   Friday, September 23, 2005 08:37 AM

Hi,

Increase u r JVM size.

Re: What could be causing java.lang.OutOfMemory?

Posted By:   WarnerJan_Veldhuis  
Posted On:   Friday, September 23, 2005 08:08 AM

Struts is a framework which basically does nothing by itself. It's probably the way you use it... Does the OutOfMemoryError come with a stacktrace? You should be able to start from there.
About | Sitemap | Contact