aspose file tools
The moose likes Tomcat and the fly likes TomCat 5 java.lang.OutOfMemoryError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "TomCat 5 java.lang.OutOfMemoryError" Watch "TomCat 5 java.lang.OutOfMemoryError" New topic
Author

TomCat 5 java.lang.OutOfMemoryError

Pally Gharmount
Ranch Hand

Joined: Aug 25, 2004
Posts: 34
Hi Guys,

I am a newbie to Tomcat 5, can any one tell me how I increase the memory using Apache Tomcat/5.0.12 on Windows 2000.

Kind Regards
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12981
    
    5
You can use the Java command line parameters to allocate more memory by setting the JAVA_OPTS parameter in catalina.bat - see the Java tooldocs for the format. I think we recently had an extended discussion of this here, so you might browse the last couple of weeks of posts.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TomCat 5 java.lang.OutOfMemoryError
 
jQuery in Action, 3rd edition