embedded@glassfish.java.net

RE: [embedded] MaxPermSize

From: Joey Jarosz <joey_at_cadence.com>
Date: Mon, 11 May 2009 08:45:31 -0700

Ok, I was able to confirm using Java VisualVM that indeed MaxPermSize
cannot be controlled from within domain.xml for embedded applications.
It looks like the only <jvm-option> that takes affect is (-D) system
properties.

 

Thanks for the hint. Btw, what I am working on is shrinking my source
domain.xml file as much as possible such that it only contains
information relevant to running embedded.

 

 

________________________________

From: Byron.Nevins_at_Sun.COM [mailto:Byron.Nevins_at_Sun.COM]
Sent: Sunday, May 10, 2009 12:09 PM
To: embedded_at_glassfish.dev.java.net
Subject: Re: [embedded] MaxPermSize

 

Sorry I haven't been keeping up with embedded lately.

What's MaxPermSize ?
If it is a -X java argument then it is your responsibility.
If it is a System property (jvm-option in domain.xml) -- then it will be
set for you automatically.


Joey Jarosz wrote:

When running embedded, does the value of MaxPermSize come from the
domain.xml file that I specify as my source domain xml (section
java-config) or from what I pass into Java when I start my application?

 

 

--------------------------------------------
Joey Jarosz

Senior Architect

Chip Planning Solutions

Cadence Design Systems, Inc.
(408) 914-6269


Need some IP? Check out www.chipestimate.com
<http://www.chipestimate.com>