RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-07 Thread Dale, Matt
Increase the size of the heap. The default is only 64M. Ta Matt -Original Message- From: kjiang [mailto:[EMAIL PROTECTED] Sent: 06 January 2005 21:19 To: tomcat-user@jakarta.apache.org Subject: java.lang.OutOfMemoryError Tomcat4.1.30 Hi When tomcat (version 4.1.30) read in a large file

RE: java.lang.OutOfMemoryError Tomcat4.1.30

2005-01-06 Thread Mike Jackson
Either don't read so large a file into memory (ie read chunks and process them rather than the entire file) or increase the memory that Tomcat can use. You can increase the memory allowed to the VM using the -X arguements (java -X for help). The one you'll want is going to be -Xmx###M where the #