Re: Session timeout and memory
Re: Session timeout and memory
- Subject: Re: Session timeout and memory
- From: Q <email@hidden>
- Date: Tue, 12 Sep 2006 09:43:35 +1000
On 12/09/2006, at 2:26 AM, Chuck Hill wrote:
In addition to garbage collection which has been mentioned, be
careful of what you are looking at. If additional memory is
allocated to the JVM process, it will not be returned to the
operating system until the JVM process terminates. In other words,
the total heap size will never decrease but free memory on the heap
will vary as objects are created and the garbage collector runs.
Chuck
It should also be pointed out that this is a good thing not a
liability that needs special consideration, because it means that the
JVM doesn't need to constantly malloc and free memory. Provided there
isn't an actual leak causing the JVM size to continually grow
unexpectedly, the virtual memory allocation shouldn't be something to
really worry about, as any vm pages that go unused for long enough
will eventually get paged out by the OS should the physical memory be
required for something else. Assuming your OS has got enough swap
allocated.
--
Seeya...Q
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
_____ / Quinton Dolan - email@hidden
__ __/ / / __/ / /
/ __ / _/ / / Gold Coast, QLD, Australia
__/ __/ __/ ____/ / - / Ph: +61 419 729 806
_______ /
_\
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden