Skip to content

Commit 83ed559

Browse files
authored
Bump Xmx for nqp-j by another 300MB
It still crashes with out of mem on occasion and 1.2GB is about what it takes to compile MoarVM version rakudo
1 parent 05c18bc commit 83ed559

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/build/install-jvm-runner.pl.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ if ($^O eq 'MSWin32') {
2020

2121
open my $fh, ">", $install_to
2222
or die "Could not open $install_to: $!";
23-
print $fh '@java -Xss1m -Xmx1024m -Xbootclasspath/a:' . $jar_dir . '\\nqp-runtime.jar;' .
23+
print $fh '@java -Xss1m -Xmx1324m -Xbootclasspath/a:' . $jar_dir . '\\nqp-runtime.jar;' .
2424
"$jar_dir\\@asmfile@;$jar_dir\\@jlinefile@;$lib_dir\\nqp.jar -cp $lib_dir nqp %*\n";
2525
close $fh
2626
or die "Could not close $install_to: $!";
@@ -37,7 +37,7 @@ else {
3737
print $fh "#!/bin/sh\n";
3838
print $fh ": \${NQP_DIR:=\"$nqp_dir\"}\n";
3939
print $fh ": \${NQP_JARS:=\"$jars\"}\n";
40-
print $fh "exec java -Xss1m -Xmx1024m -Xbootclasspath/a:\${NQP_JARS} -cp $lib_dir nqp \"\$\@\"\n";
40+
print $fh "exec java -Xss1m -Xmx1324m -Xbootclasspath/a:\${NQP_JARS} -cp $lib_dir nqp \"\$\@\"\n";
4141
close $fh
4242
or die "Could not close $install_to: $!";
4343
chmod 0755, $install_to;

0 commit comments

Comments
 (0)