Skip to content

Commit 9c2c57b

Browse files
committed
Change default max native heap size
1 parent ef72b35 commit 9c2c57b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/runtime/PythonOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ private PythonOptions() {
355355
@Option(category = OptionCategory.EXPERT, usageSyntax = "true|false", help = "If native memory tracing is enabled, also capture stack.") //
356356
public static final OptionKey<Boolean> TraceNativeMemoryCalls = new OptionKey<>(false);
357357

358-
@Option(category = OptionCategory.EXPERT, usageSyntax = "<bytes>", help = "Max native memory heap size (default: 2 GB).") //
359-
public static final OptionKey<Long> MaxNativeMemory = new OptionKey<>(1L << 31);
358+
@Option(category = OptionCategory.EXPERT, usageSyntax = "<bytes>", help = "Max native memory heap size (default: 8 GB).") //
359+
public static final OptionKey<Long> MaxNativeMemory = new OptionKey<>(1L << 33);
360360

361361
@Option(category = OptionCategory.EXPERT, usageSyntax = "<bytes>", help = "Initial native memory heap size that triggers a GC (default: 256 MB).") //
362362
public static final OptionKey<Long> InitialNativeMemory = new OptionKey<>(1L << 28);

0 commit comments

Comments
 (0)