-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chris,
On 6/4/13 12:56 PM, chris derham wrote: >> I am considering using the Tomcat 7 shared classloader to reduce >> the memory footprint of my web apps. > > Can you provide some approximate numbers as to what the current > memory footprint is? Also some details of how many tomcat instances > you have running and/or how many versions of the application you > have running? > > So for example if your war file has 10mb of class files, and you > have five concurrent versions of the war running, your reasoning is > that by using a shared class loader, you can reduce the memory foot > print from 50mb to 10mb? Your next step will be to point out that the size of the class file is only somewhat relevant for estimating actual memory usage, right? The JVM doesn't load the method bytecode into heap space (which is one of the reasons Java-only programmers don't understand why their JVM with a 1GiB heap actually takes 2GiB (or whatever) of real memory. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJRri1QAAoJEBzwKT+lPKRYehUQAME8i3tW2JfZO6FXwjb0Wgp+ MoFi5AnwtzeeQ1hoU8ZiL84nmKZuwwSegN0HKmSWdKrrdav3v9/rKQpz3lXKMkqQ pnCgcn83ag7rmTR+8D12iTBfTAZC49M4Y6l+Mg8Jz3a0em9LOd7peWujt5GsIvPt Mn9FpOr8kb3qfiPLsbQFoH2NH9Qk8QXoljGHc7dM6kx/CDBU2e91hILnBkFoIez5 AEy0G9YZV2D9BVxIBHE+rkGN6yo8qmCGhZFlGcWKLY8/FxP7uhjVRa5K24tezjEG tYby5VFlq4yRR4DcoeGWT6UUj9NWCn55sPC//lSh4DyjAWNXKxOJ4SDijEiRMRbE nfGilnaxV3By/HzlIzYBj0QQ+KUR0HfOQfHnL+F62M4zbPhPsSonNHk8hgnZ+dGe mYaQssS1hdQtFuL7mN5luLo5rzdorqBaTKHlgodt1kXksxOHxA7XUZ4noDuUfQgv Vl60ntu6eHyt8fy/jo5Q1RmKk06U2wKffipnpCa5l53V/i1ETJj7PGYddtHYRfP3 a+fvr5XBXRt6/pF5qGs31NF/prIW8wYAVIFhHKSi+n3MEF/cYFD1mvCr5KOuG/6v WqpC6TMPNIUNKLmSgAsnw0tNXqN8UX6y8gIT5xVP9rTHFL1lBeb7+YdqqauGCh/9 ZkFHB62VTiJU28UifBOw =3Vg/ -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org