- // see if a percentage of physical memory option exists
- int jvmmempc = config.getInt("jvmmempc", -1);
- // app_id prefixed setting overrides
- if (appPrefix.length() > 0) {
- jvmmempc = config.getInt(appPrefix + "jvmmempc", jvmmempc);
+ // get the set of optimum JVM arguments
+ _optimumJvmArgs = config.getMultiValue("optimum_jvmarg");
+
+ // transfer our application arguments
+ String[] appargs = config.getMultiValue(appPrefix + "apparg");
+ addAll(appargs, _appargs);
+
+ // add the launch specific application arguments
+ _appargs.addAll(_envc.appArgs);
+
+ // see if a percentage of physical memory option exists if it hasn't been set by cli args
+ if (_jvmmempc > -1) {
+ _jvmmempc = config.getInt("jvmmempc", -1);
+ // app_id prefixed setting overrides
+ if (appPrefix.length() > 0) {
+ _jvmmempc = config.getInt(appPrefix + "jvmmempc", _jvmmempc);
+ }