Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro Java
Pro Java Expert level Java questions not about a specific book. Please indicate your version.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro Java section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 16th, 2009, 09:38 PM
Friend of Wrox
Join Date: Dec 2008
Posts: 238
Thanks: 2
Thanked 20 Times in 19 Posts
Default specify heap and oerm gen size for jvm

When you start up jvm, you can specify heap size and PermGen size, for example '-Xms512m -Xmx1024m -XX:PermSize=384m -XX:MaxPermSize=512m".

Here is my question, heap consists three parts: young gen, old gen and perm gen so it sounds like, in the above case, max yound + max old + max perm should equal to 1024m. But when I read jstat -gccapacity, it seems like max young + max old = 1024m.

Cannot really find any document specifically answering my question, so any idea?

(I initially posted this in basic java forum, but thought it more at pro level.)
Old June 25th, 2009, 05:42 AM
Friend of Wrox
Join Date: Mar 2007
Posts: 373
Thanks: 0
Thanked 1 Time in 1 Post


specify heap and permgen size for jvm
- Rakesh

Similar Threads
Thread Thread Starter Forum Replies Last Post
specify heap and permgen size for jvm PeterPeiGuo Java Basics 2 June 17th, 2009 08:28 AM
Expanding on chapter 6 and the movie site in gen newbreed65 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 September 27th, 2008 11:56 AM
Heap Monitor pallavi11 VB How-To 5 January 11th, 2007 08:37 PM
HELP ME PLEASE!!! XML to XSLT FORM GEN elysio XSLT 1 November 15th, 2003 05:37 PM
dynamic rs gen image with javascript binuacs Classic ASP Basics 1 June 5th, 2003 03:27 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.