Re: memory heap size

2012-02-14 Thread Pid
On 14/02/2012 20:58, Christopher Schultz wrote: > > > On 2/14/12 3:41 PM, André Warnier wrote: >>> >>> Or just get a mess restrictive hosting environment. >>> >> Or a lore permissive one. > > LOL :) Habbing a code affects my spelling. p -- [key:62590808] signature.asc Description: Ope

Re: memory heap size

2012-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/14/12 3:41 PM, André Warnier wrote: >> >> Or just get a mess restrictive hosting environment. >> > Or a lore permissive one. LOL -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Com

Re: memory heap size

2012-02-14 Thread André Warnier
Pid * wrote: On 14 Feb 2012, at 17:11, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alfredo, On 2/14/12 10:05 AM, Alfredo Alessandrini wrote: Now I've put in setenv.sh this settings: export JAVA_OPTS="-Xms64m -Xmx128m -XX:MaxPermSize=128m" So, you have a user l

Re: memory heap size

2012-02-14 Thread Pid *
On 14 Feb 2012, at 17:11, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Alfredo, > > On 2/14/12 10:05 AM, Alfredo Alessandrini wrote: >> Now I've put in setenv.sh this settings: >> >> export JAVA_OPTS="-Xms64m -Xmx128m -XX:MaxPermSize=128m" > > So, you have a us

Re: memory heap size

2012-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alfredo, On 2/14/12 10:05 AM, Alfredo Alessandrini wrote: > Now I've put in setenv.sh this settings: > > export JAVA_OPTS="-Xms64m -Xmx128m -XX:MaxPermSize=128m" So, you have a user limit of 256MiB and you have your heap set to 128MiB and your max p

Re: memory heap size

2012-02-14 Thread Alfredo Alessandrini
It's started with: [keol@web ~]$ webapps/tomcat/bin/startup.sh Using CATALINA_BASE: /home/keol/webapps/tomcat Using CATALINA_HOME: /home/keol/webapps/tomcat Using CATALINA_TMPDIR: /home/keol/webapps/tomcat/temp Using JRE_HOME:/home/keol/java Using CLASSPATH: /home/keol/webapps/tomcat/b

Re: memory heap size

2012-02-14 Thread Alfredo Alessandrini
> Where is that Tomcat from ? how was it installed ? how is it being started ? I've used this tutorial to install Tomcat: http://community.webfaction.com/questions/4116/install-tomcat-howto-or-step-by-step-tutorial It's started with ~/webapps/tomcat/bin/shutdown.sh Alfredo 2012/2/14 André W

Re: memory heap size

2012-02-14 Thread Ognjen Blagojevic
On 14.2.2012 14:55, André Warnier wrote: The Heap is only one part of the memory used by the Java process. Exactly. Here is some more information on the topic: http://stackoverflow.com/questions/8037920/tomcat-memory-consumption-is-more-than-heap-permgen-space -Ognjen ---

Re: memory heap size

2012-02-14 Thread André Warnier
Alfredo Alessandrini wrote: Hi, I'm running tomcat 7.0.25 in a shared server (centOS 64bit). Memory limit for my account is 256m. I'm running tomcat with this settings: No, you are not. See [1] below. export CATALINA_OPTS="-Xms128m -Xmx256m" export JAVA_OPTS="-Xms128m -Xmx256m" But the

Re: memory heap size

2012-02-14 Thread Daniel Mikusa
On Tue, 2012-02-14 at 05:07 -0800, Alfredo Alessandrini wrote: > Hi, > > I'm running tomcat 7.0.25 in a shared server (centOS 64bit). > > Memory limit for my account is 256m. > > I'm running tomcat with this settings: > > export CATALINA_OPTS="-Xms128m -Xmx256m" > > export JAVA_OPTS="-Xms128m

memory heap size

2012-02-14 Thread Alfredo Alessandrini
Hi, I'm running tomcat 7.0.25 in a shared server (centOS 64bit). Memory limit for my account is 256m. I'm running tomcat with this settings: export CATALINA_OPTS="-Xms128m -Xmx256m" export JAVA_OPTS="-Xms128m -Xmx256m" But the process exceed the limit that I've set: RSS ELAPSED PID COMMAND 3

Re: How to set Java Memory heap size on Linux?

2009-03-09 Thread Rainer Jung
On 09.03.2009 19:30, Caldarale, Charles R wrote: From: dOE [mailto:doep...@gmail.com] Subject: Re: How to set Java Memory heap size on Linux? What is the syntax of the "setenv.sh script"? It's whatever syntax your shell supports. The export command is often needed for Linu

RE: How to set Java Memory heap size on Linux?

2009-03-09 Thread Caldarale, Charles R
> From: dOE [mailto:doep...@gmail.com] > Subject: Re: How to set Java Memory heap size on Linux? > > What is the syntax of the "setenv.sh script"? It's whatever syntax your shell supports. The export command is often needed for Linux shells. - Chuck THI

Re: How to set Java Memory heap size on Linux?

2009-03-09 Thread dOE
chuck.caldar...@unisys.com> wrote: > > From: dOE [mailto:doep...@gmail.com] > > Subject: How to set Java Memory heap size on Linux? > > > > I know in Windows this is done through the Registry > > adding -Xms256m -Xmx768m. > > You should not be editing the re

RE: How to set Java Memory heap size on Linux?

2009-03-03 Thread Caldarale, Charles R
> From: dOE [mailto:doep...@gmail.com] > Subject: How to set Java Memory heap size on Linux? > > I know in Windows this is done through the Registry > adding -Xms256m -Xmx768m. You should not be editing the registry in Windows; use the tomcat6w.exe program to manipulate

Re: How to set Java Memory heap size on Linux?

2009-03-03 Thread zhaoxueqing
in tomcat/bin/catalina.sh add a parameter into this file export JAVA_OPTS=-Xmx512m - Original Message - From: "dOE" To: "Tomcat User-List" Sent: Wednesday, March 04, 2009 10:11 AM Subject: How to set Java Memory heap size on Linux? > Tomct 6.0 > Red Hat E

How to set Java Memory heap size on Linux?

2009-03-03 Thread dOE
Tomct 6.0 Red Hat EL 4 How can I set the Java Memory heap for Tomcat? I know in Windows this is done through the Registry adding -Xms256m -Xmx768m. >From what I have read on the internet to do the same on a Linux system I need to add the following line to my ../tomcat/bin/catalina.sh fle? JAVA_O