tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: [OT]RE: Maximum memory that can be assigned to Tomcat on windows platform
Date Fri, 02 Dec 2011 01:37:19 GMT
Hash: SHA1


On 12/1/11 6:38 AM, Mikolaj Rydzewski wrote:
> On Thu, 1 Dec 2011 12:29:14 +0100, Casper Wandahl Schmidt wrote:
>> That didn't quite help me understand, because how can the OS map
>> from ie. 0-4GB to 4-8GB (the window is moved) when it can only
>> use a 32bit register to tell the machine where to look in the
>> psysical memory, that is where my knowledge ends :) So I read
>> about PAE and found out that it uses 2 registers (36 bits due to
>> some bits being used as flags) and that makes good sense, but how
>> can the cpu calculate an address without overflow and send a 
>> command to the bus containing a 36bit address (or whatever
>> fetches the bits from RAM)? That is where I'm puzzled but I guess
>> it is because I'm not at all into ISA-level and below :)
> Well, it's rather out of the scope of this list.
> On the other hand, increasing java heap size is not always the
> best option. It heavily depends on memory usage pattern in your
> application. In general: the bigger heap, the longer GC will run.

That's a rather sweeping generalization. The heap size doesn't matter
directly.. it's the number of objects being managed within that heap
that matters. Of course, with a larger heap, you can fit more objects
into it before a major collection is required. Generational heap
strategies are fairly efficient, and performance depends upon the
number of LIVE objects, not just the total number of objects. Oddly
enough, most "garbage collection" is really collecting non-garbage and
ignoring the actual garbage.

It's a bit like moving to a different house when yours gets too
cluttered: you just take the things you want to keep and leave
everything else behind.

- -chris
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools -
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message