Re: Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Martynas Jusevičius
Christopher, thanks for your reply. Answers inline. > > What I see in the profiler is Max Heap Size 310378496 B, which is only 0.28 > > GiB. > > This is probably the maximum size of the /used/ heap. Can you confirm that? Nope. Netbeans profiler says: Max Heap Size 31037849

Re: Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Christopher Schultz
/usr/local/tomcat/temp org.apache.catalina.startup.Bootstrap start If I replace "org.apache.catalina.startup.Bootstrap start" with "-XshowSettings:vm -version" and run, this is what I get: Max. Heap Size (Estimated): 2.78G Using VM: OpenJDK 64-Bit Server VM Where 2.78G

Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Martynas Jusevičius
/temp org.apache.catalina.startup.Bootstrap start If I replace "org.apache.catalina.startup.Bootstrap start" with "-XshowSettings:vm -version" and run, this is what I get: Max. Heap Size (Estimated): 2.78G Using VM: OpenJDK 64-Bit Server VM Where 2.78G is 75% of 3.7G

Re: max heap size on Windows server 64 bit

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Domenico, On 2/8/2010 11:31 AM, Domenico Marzilli wrote: > Yes, Chris, > it depends on the type of data. > For example: > 1) the elements of an array are addressed with 64 bit pointers; Yes, but the array itself does not take up more space, unless it

RE: max heap size on Windows server 64 bit

2010-02-08 Thread Caldarale, Charles R
> From: Domenico Marzilli [mailto:domenico.marzi...@gatelab.com] > Subject: Re: max heap size on Windows server 64 bit > > By the way, what options for the JVM are you speaking about? -XX:+UseCompressedOops - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE

Re: max heap size on Windows server 64 bit

2010-02-08 Thread Domenico Marzilli
: "Christopher Schultz" To: "Tomcat Users List" Sent: Monday, February 08, 2010 5:22 PM Subject: Re: max heap size on Windows server 64 bit -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Domenico, On 2/4/2010 3:42 AM, Domenico Marzilli wrote: It's normal to be forced to dou

Re: max heap size on Windows server 64 bit

2010-02-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Domenico, On 2/4/2010 3:42 AM, Domenico Marzilli wrote: > It's normal to be forced to double the heap on migrating from x32 to x64 > hw. > Just think to the pointer addressing , that is based on a 64bit > representation of the memory address, rather t

Re: max heap size on Windows server 64 bit

2010-02-08 Thread Domenico Marzilli
Really! I tried to run it and now all works fine. Tnx - Original Message - From: "Mark Thomas" To: "Tomcat Users List" Sent: Thursday, February 04, 2010 3:00 PM Subject: Re: max heap size on Windows server 64 bit On 04/02/2010 13:11, Mehrotra, Anurag wro

AW: max heap size on Windows server 64 bit

2010-02-04 Thread Wolfgang Hummel
: Tomcat Users List Betreff: RE: max heap size on Windows server 64 bit > From: Wolfgang Hummel [mailto:wolfgang.hum...@energy4u.org] > Subject: AW: max heap size on Windows server 64 bit > > if you wanna install tomcat 1.6 on a 64bit windows server with a 64 bit > java you have to do

RE: max heap size on Windows server 64 bit

2010-02-04 Thread Caldarale, Charles R
> From: Wolfgang Hummel [mailto:wolfgang.hum...@energy4u.org] > Subject: AW: max heap size on Windows server 64 bit > > if you wanna install tomcat 1.6 on a 64bit windows server with a 64 bit > java you have to download an extra patch for tomcat6w.exe and > tomcat6.exe from sv

AW: max heap size on Windows server 64 bit

2010-02-04 Thread Wolfgang Hummel
Nachricht- Von: Domenico Marzilli [mailto:domenico.marzi...@gatelab.com] Gesendet: Donnerstag, 4. Februar 2010 09:43 An: Tomcat Users List Betreff: Re: max heap size on Windows server 64 bit It's normal to be forced to double the heap on migrating from x32 to x64 hw. Just think to the po

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Mark Thomas
On 04/02/2010 13:11, Mehrotra, Anurag wrote: > I just finished installing 64 bit tomcat (6.0.24) on 64 bit JVM > (1.6.0_18)on 64 bit OS (WIN 2008). I was able to install it as a service > without any problems. > > The trick is to start with the zip file distribution (64 bit). Do not > use the wind

RE: max heap size on Windows server 64 bit

2010-02-04 Thread Mehrotra, Anurag
your computer. -Original Message- From: Domenico Marzilli [mailto:domenico.marzi...@gatelab.com] Sent: Thursday, February 04, 2010 3:43 AM To: Tomcat Users List Subject: Re: max heap size on Windows server 64 bit It's normal to be forced to double the heap on migrating from x32 to x6

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Domenico Marzilli
ed to execute the 'service.bat install' of Tomcat 6.0.24, but doesn't run. Please could you help me? Thanks Domenico - Original Message - From: "Peter Crowther" To: "Tomcat Users List" Sent: Thursday, February 04, 2010 9:02 AM Subject: Re: max heap

Re: max heap size on Windows server 64 bit

2010-02-04 Thread Peter Crowther
t; we are running tomcat 6.20 on windows server 2003 64bit with java 1.6 > (64bit) as a Windows service. > Everything works fine but I have to increase max. heap size to 4 GB (now 2 > GB). > Machine has abaout 8 GB ram. > I know, how to do this - but I read, that it is not recomma

max heap size on Windows server 64 bit

2010-02-03 Thread Wolfgang Hummel
Hi, we are running tomcat 6.20 on windows server 2003 64bit with java 1.6 (64bit) as a Windows service. Everything works fine but I have to increase max. heap size to 4 GB (now 2 GB). Machine has abaout 8 GB ram. I know, how to do this - but I read, that it is not recommanded to configure more

Re: Max heap size

2010-01-10 Thread Robin Wilson
r tests with different values for Xmx woud like to > know, if anyone had tried tomcat with higher values for Xmx. > > > > Thanks > > > > > >> Date: Fri, 8 Jan 2010 16:00:43 -0500 >> From: ch...@christopherschultz.net >> To: users@tomcat.apache.org >&

RE: Max heap size

2010-01-10 Thread Caldarale, Charles R
> From: V Jayakumar [mailto:v...@hotmail.com] > Subject: RE: Max heap size > > http://docs.sun.com/app/docs/doc/819-3681/abeii?a=view > says that maximum address space for a process in 32 bit version of > Linux is 2 GB. > > But am not sure for which version of JRE this

RE: Max heap size

2010-01-10 Thread V Jayakumar
had tried tomcat with higher values for Xmx. Thanks > Date: Fri, 8 Jan 2010 16:00:43 -0500 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Max heap size > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chuck, >

Re: Max heap size

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/8/2010 3:34 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: Max heap size >> >> Here's an updated script to check for maximum heap. > &g

RE: Max heap size

2010-01-08 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Max heap size > > Here's an updated script to check for maximum heap. Just remember that this measures the maximum heap available to an extremely simple process. For a complex execution like Tom

Re: Max heap size

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Here's an updated script to check for maximum heap. I'm also including the (simple) code for the MemoryInfo class referenced in the script (the lack of this class being available was why the script failed for me earlier). Enjoy, - -chris maxhea

Re: Max heap size

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/8/2010 9:37 AM, Caldarale, Charles R wrote: > Experimenting to find the largest -Xmx value for your environment > should only take a few minutes. I used this script long ago and got something like 2600 MiB as the max I could use. I just t

RE: Max heap size

2010-01-08 Thread Caldarale, Charles R
> From: V Jayakumar [mailto:v...@hotmail.com] > Subject: Max heap size > > OS : 32 Bit Redt Hat Enterprise Linux > $ java -version > java version "1.6.0_14" > Java(TM) SE Runtime Environment (build 1.6.0_14-b08) > Java HotSpot(TM) Client VM (build 14.0-b16, mi

Re: Max heap size

2010-01-08 Thread Paolo Santarsiero
Well, it depends on the jvm memory usage. I use for my system this JAVA_HOME jvm parameters in catalina.sh: -Xms64m -Xmx512m -XX:MaxPermSize=200m It is not certain that this configuration is good for your system. I set 200Mb for max permgen size because the objects in permgen on average occupy 120

Max heap size

2010-01-08 Thread V Jayakumar
Hello OS : 32 Bit Redt Hat Enterprise Linux $ java -version java version "1.6.0_14" Java(TM) SE Runtime Environment (build 1.6.0_14-b08) Java HotSpot(TM) Client VM (build 14.0-b16, mixed mode, sharing) apache-tomcat-5.5.20 Server has 4 GB of RAM. What is the maximum value that