Howdy,
The JVM doesn't allocate memory to your process or session.  It
allocates memory on the heap which is shared by your processes and
sessions.  See the documentation for java's -Xms and -Xmx runtime
options at http://java.sun.com/docs/hotspot/VMOptions.html

You can set these options for tomcat by setting the JAVA_OPTS variable
in $CATALINA_HOME/bin/catalina.sh.

And please don't hijack discussion threads on these mailing lists: post
your question in a new discussion thread ;)

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Ming Zhao [mailto:[EMAIL PROTECTED]]
>Sent: Friday, February 07, 2003 10:24 AM
>To: Tomcat Users List
>Subject: RE: How to increase the stack memory for tomcat ?
>
>If I want to increase the memory size of each process
>or session, how can I do for Tomcat only or
>Apache+Tomcat?
>
>--- "Shapira, Yoav" <[EMAIL PROTECTED]> wrote:
>> Howdy,
>> Really?  The stack, no the heap?  You're sure?  Why?
>>
>> Try -Xss a parameter into your java command line.
>>
>>
>> Yoav Shapira
>> Millennium ChemInformatics
>>
>>
>> >-----Original Message-----
>> >From: Surendra Kumar [mailto:[EMAIL PROTECTED]]
>> >Sent: Friday, February 07, 2003 8:52 AM
>> >To: Tomcat Users List
>> >Subject: How to increase the stack memory for
>> tomcat ?
>> >
>> >Hi All
>> >   I want to increase the stack size allocated to
>> my tomcat process. Is
>> >there any configuration file where i can change
>> this ?
>> >   Besides is there any way i can configure the
>> stack size for per Web
>> >applications ?
>> >
>> >   I am using Tomcat version 3.3.1
>> >
>> > Thanks for any help/pointers.
>> >
>> >-Surendra
>> >
>> >
>>
>>---------------------------------------------------------------------
>> >To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> >For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>>
>>
>---------------------------------------------------------------------
>> To unsubscribe, e-mail:
>> [EMAIL PROTECTED]
>> For additional commands, e-mail:
>> [EMAIL PROTECTED]
>>
>
>
>__________________________________________________
>Do you Yahoo!?
>Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
>http://mailplus.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to