« Return to Thread: Question regarding Tomcat memory

Re: Question regarding Tomcat memory

by pureheart123 :: Rate this Message:

Reply to Author | View in Thread

Hi,
Sorry the content of the mail was bit messed up ,i have corrected the
settings wordings please read the below text

To make our tomcat  heap size memory  to 8 GB we have set the below
settings
-Xms8192M -Xmx8192M -Xss1024K -XX:PermSize=64m -XX:MaxPermSize=256m
-Dfile.encoding=Cp1252

Please suggest is this ok ? as we are observing the maximum heap size memory
for
tomcat gets a reduced bit to  around 7756736K and it keeps flucatating.Is
this normal behaviour
The OS we are using is Linux 8.
- Well we are using 64 bit JDK
- We are prinitng the heap mem using Log 4J utitiy in the apllication logs.





On Sat, Nov 15, 2008 at 4:01 AM, Caldarale, Charles R <
Chuck.Caldarale@...> wrote:

> > From: Harish S Rathod [mailto:harishjss2002@...]
> > Subject: Question regarding Tomcat memory
>
> First, use a different mailer or send only in plain text; whatever you're
> using is encoding even standard ASCII characters like "=".
>
> > To make our tomcat  heap size memory  to 8 GB we have set the below=20
>
> How much RAM and swap space do you have on the system?  What JVM are you
> using?  To go over 1.8 GB you need a 64-bit JVM.
>
> > $CATALINA_OPTS -Xms8192M -Xmx8192M -Xss1024K=20
>
> Setting -Xss is usually not useful, unless your application is very, very
> strange.
>
> > as we are observing the maximum heap size memory for
> > tomcat gets a reduced bit to around 7756736K and it
> > keeps flucatating.
>
> What are you using to do the "observing"?  When I run JConsole targeting a
> JVM with the exact settings you specify, it says this about the heap:
>
> Committed:  8,039,104 kbytes
>      Max:  8,039,104 kbytes
>
> This is on a SuSE 10 system, with JDK 1.6.0_07, in server mode.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@...
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

 « Return to Thread: Question regarding Tomcat memory