This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JNLP and Web Start and the fly likes Increment the memory in  JVM!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Increment the memory in  JVM!!!" Watch "Increment the memory in  JVM!!!" New topic

Increment the memory in JVM!!!

Marco Lombardo
Ranch Hand

Joined: Jul 05, 2005
Posts: 71
I want to increment the memory for a java program that starts with a jnlp.
Is there a way to set a property in jnlp or another way to make this?

Team Leader<br />SCJP, SCBCD , SCDJWS, Oracle WebLogic, IBM WebSphere e IBM FileNet Certified<br /> <br /><a href="" target="_blank" rel="nofollow"></a>
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243

Webstart understands the arguments that you can supply to the JVM on the command line. So you can do things like this:

You might have to google for the correct wording of the parameters you are interested in, but it is possible.

Cheers, Jared.

SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
Marco Lombardo
Ranch Hand

Joined: Jul 05, 2005
Posts: 71

I agree. Here's the link:
subject: Increment the memory in JVM!!!