Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java.lang.OutOfMemory

Status
Not open for further replies.

SuperMoonster

Programmer
Aug 11, 2005
59
BR
Hello guys,

I have a webapp that has a problem... after some minutes of use, it gives me a java.lang.OutOfMemory error and doesn't work anymore.

I was wondering what I should do to find out where the problem is. I'm using struts + hibernate.

Thanks

 
hmmmm ... lots of info for us to work with here !!!

Try increasing your servlet container's JVM's memory ...

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Look up the -Xmx parameter for the JVM. You can set up a larger heap space for Tomcat (if that's what you're using) with JAVA_OPTIONS=-Xmx512m or something similar. Hope this helps.

Site: Location: SF Bay Area
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top