File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -419,8 +419,8 @@ void ArgParser::prepareOptions() {
419
419
}
420
420
421
421
void ArgParser::setupMaxHeapAndStack () {
422
- // Hard-coded 500m, 1024k is for consistency with jruby shell script.
423
- string heapSize (" 500m" ), stackSize (" 1024k " );
422
+ // Hard-coded 500m, 2048k is for consistency with jruby shell script.
423
+ string heapSize (" 500m" ), stackSize (" 2048k " );
424
424
bool maxHeap = false , maxStack = false ;
425
425
for (list<string>::iterator it = javaOptions.begin (); it != javaOptions.end (); it++) {
426
426
if (!maxHeap && strncmp (" -Xmx" , it->c_str (), 4 ) == 0 ) {
Original file line number Diff line number Diff line change 86
86
jruby_launcher_args ( "-J-Xmx256m" ) . should include ( "-Xmx256m" , "-Djruby.memory.max=256m" )
87
87
end
88
88
89
- it "should default to 1024k max stack" do
90
- jruby_launcher_args ( "" ) . should include ( "-Xss1024k " , "-Djruby.stack.max=1024k " )
89
+ it "should default to 2048k max stack" do
90
+ jruby_launcher_args ( "" ) . should include ( "-Xss2048k " , "-Djruby.stack.max=2048k " )
91
91
end
92
92
93
93
it "should allow max stack to be overridden" do
You can’t perform that action at this time.
0 commit comments