-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Peter,
> 1. Does each tomcat instance use a separate 2 GB of memory, ie the 3
> instance use 6 GB between them ?
Each instance gets a separate, 2GB heap space.
> 2. or do they potentially share they same memory?
Since Java 1.5, "shared archive" capability is available on Sun's JVM.
This basically means that the core JVM stuff can be memory-mapped and
thus shared between processes, so you actually get a benefit when you
run multiple simultaneous JVMs.
See:
http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#vm_classdatashare
http://java.sun.com/j2se/1.5.0/docs/guide/vm/class-data-sharing.html
These pages cover this capability if you re interested in reading all
about it.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGt1nW9CaO5/Lv0PARAlFHAJ4q/MBMWrYMUBJTeu3/RPyzU1b1AQCfe8SJ
AMWfHzrgP0dAKeifLPxQ4Bw=
=5Dw/
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)