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 310378496 B, Max Used Heap 261

Re: Max heap size when using -XX:MaxRAMPercentage

2020-11-11 Thread Christopher Schultz
Martynas, On 11/11/20 10:20, Martynas Jusevičius wrote: I am attempting to make my webapps that run in Tomcat to take advantage of the Docker container-specific JVM options such as -XX:MaxRAMPercentage: https://www.eclipse.org/openj9/docs/xxinitialrampercentage/ TL;DR It allows specifying JVM he

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

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 svn. Not true - the ap

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
On any 64-bit OS, more than 2G is fine. I know several places running dedicated application servers with 16G RAM and 12G Java heaps. Where have you read about the 2G recommendation? I want to send them an email... :-). - Peter On 4 February 2010 07:53, Wolfgang Hummel wrote: > Hi, > > we are

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, mixed mode, sharing) > apache-tomcat-5.5

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