| Author |
java override runtime setting??
|
kirrran kir
Greenhorn
Joined: Aug 05, 2006
Posts: 7
|
|
Hi Any help is appreciated. is it possible to override the switches provided to the jvm programmatically? Eg., if jvm is started like this java -Xms64m myprog, then is it possible to set the "Xms" value inside my java program during run-time. thanks
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24061
|
|
|
No, not in general. Switches like -Xmx set up the structure of the Java heap, which is already initialized and operating by the time your code gets control.
|
[Jess in Action][AskingGoodQuestions]
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24061
|
|
|
Here at the Ranch, we consider it quite rude to post the same question to more than one forum. Please Read this before posting again. I've deleted the other two copies of this topic.
|
 |
 |
|
|
subject: java override runtime setting??
|
|
|