heap size -xms and -xmx definition on a per-app basis in manifest file?

Stuart Marks stuart.marks at oracle.com
Wed Sep 12 05:19:38 UTC 2012


On 9/10/12 6:15 AM, Fernando Cassia wrote:
> On Sun, Sep 9, 2012 at 9:16 PM, Fernando Cassia <fcassia at gmail.com> wrote:
>>
>> Well, after asking all this... I hope this isn´t an issue that has been
>> already adressed. ;-)
>
> ...and if my proposal is stupid just tell me too. ;)

Not a stupid proposal, but the jar manifest is really at the wrong level. This 
kind of thing is addressed by JNLP. It's possible to specify initial and max 
heap sizes, JDK versions, etc. in a JNLP file. See

http://docs.oracle.com/javase/7/docs/technotes/guides/javaws/developersguide/contents.html

There are lots of resources and tutorials about JNLP around the web.

s'marks




More information about the discuss mailing list