Skip to content

Commit c86a323

Browse files
Update z_rubycheck.rake to no longer inject Xmx1g (#17212)
This allows the environment variable JRUBY_OPTS to be used for setting properties like Xmx original pr: #16420 (cherry picked from commit f562f37) Co-authored-by: kaisecheng <[email protected]>
1 parent d10aeef commit c86a323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rakelib/z_rubycheck.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if ENV['USE_RUBY'] != '1'
2929

3030
# Ignore Environment JAVA_OPTS
3131
ENV["JAVA_OPTS"] = ""
32-
exec(jruby, "-J-Xmx1g", "-S", rake, *ARGV)
32+
exec(jruby, "-S", rake, *ARGV)
3333
end
3434
end
3535

0 commit comments

Comments
 (0)