Skip to content

Commit 540d7aa

Browse files
committed
Remove JRuby-specific properties for reporting heap and stack size.
As of JRuby 1.6.7, we will use RuntimeMXBean to report any -Xmx and -Xss values passed to Java, rather than relying on a JRuby- specific property. This change removes setting this property from jruby-launcher. NOTE: This change should NOT be incorporated into a jruby-launcher release until long after 1.6.7 has been out, since previous releases still rely on the property being set to report memory and stack errors.
1 parent 3831f55 commit 540d7aa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

argparser.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,6 @@ void ArgParser::setupMaxHeapAndStack(list<string> userOptions) {
465465
if (!maxStack) {
466466
javaOptions.push_back("-Xss" + stackSize);
467467
}
468-
javaOptions.push_back("-Djruby.memory.max=" + heapSize);
469-
javaOptions.push_back("-Djruby.stack.max=" + stackSize);
470468
}
471469

472470
void ArgParser::constructBootClassPath() {

0 commit comments

Comments
 (0)