tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Purcell" <>
Subject Memory Config More Confused.
Date Fri, 25 Apr 2003 17:57:32 GMT
Maybe I missed the boat. I do want to set the memory of tomcat. Not of the JVM.  It is within
Tomcat that I am running out of memory when uploading large multi-part documents. Will the
memory adjustment that Yoav sent me work for Tomcat, or just for the JVM on that box? I do
not understand the corrulation?

Now I am more Confused.


-----Original Message-----
From: McLane, Bryan []
Sent: Friday, April 25, 2003 12:14 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat 4.06 Adjust Memory Requirements

I think he means what value should he set memory to that will allow Tomcat
to work efficiently, yet still minimize out of memory problems.

-----Original Message-----
From: Shapira, Yoav []
Sent: Friday, April 25, 2003 10:11 AM
To: Tomcat Users List
Subject: RE: Tomcat 4.06 Adjust Memory Requirements

Where did you search that you could find information on this topic?
Every archive has dozens of messages like this.

Add the -XmxNm to your JAVA_OPTS argument in
$CATALINA_HOME/bin/  N is the max heap in megabytes.  You
can look on the site (search for "VM Options") for more JVM
and memory tuning options.  You can search this list for other ways of
setting these options, e.g. the windows registry for tomcat as a service
on windows.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Scott Purcell []
>Sent: Friday, April 25, 2003 1:08 PM
>Subject: Tomcat 4.06 Adjust Memory Requirements
>I am running a pair of Win2000 boxes here with Tomcat 4.06 on them.
>is throwing up  customers do large (200+ MB) multipart uploads.  I have
>tried to limit the size of the uploads, but it doesn't happen until the
>file is at Tomcat, so I cannot catch it there. So I am going to
>our dev box early next week and could use some advice on adjusting the
>amount of memory I can give to the servlet engine. I would like to set
>ceiling that would minimimize the out of memory error that occurs when
>large uploads occur.
>I have searched for information on this, but I do not see much out
>that is in-line to what I need to do. Also I want to be able to run
this as
>a service.
>Does anyone have any info, sites to check out, etc. where I can
>this mission.?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message