Howdy,
There is one heap per JVM, period.  It has nothing to do with tomcat or
web applications.  You can tune this heap extensively using the various
java runtime options: http://java.sun.com/docs/hotspot/VMOptions.html

If it's an emergency and in production, just allocate more memory to the
overall heap for now.  But you should immediately start to profile your
applications, identify any leaks, and fix them, all in a development
environment.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Raja Sekhar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, March 13, 2003 11:18 AM
>To: [EMAIL PROTECTED]
>Subject: Increase heap for a specific webapplication
>
>Hi,
>
>I have two web applications running in my Tomcat 4.0.6. One application
is
>data centric and heavily loaded and other is very light with hardly any
>users hitting. Now what I observe is sometimes if there is a heavy
search
>made on the first system... it basically stops responding. I cant send
any
>further requests till restart. But if I hit the second webapp, it still
>keeps responding.
>
>So what I feel is tomcat is internally dividing the heap and virtual
memory
>for all the webapps equally.. Is there anyway I can alter this heap for
>each webapp separately??
>
>Or please let me know any other alternative for this problem asap
because
>this is a production problem.
>
>Thanks & Regards,
>
>..Raj
>
>
>Need a new email address that people can remember
>Check out the new EudoraMail at
>http://www.eudoramail.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to