Skip to content

Commit fcf4bfc

Browse files
Update MaxRAMPercentage to 70
1 parent f2e04fc commit fcf4bfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/spec/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ func getProcessJavaRuntimeArgs(name, packageName, clusterName, logLevel, details
12171217
"-Dpulsar.function.log.file=" + fmt.Sprintf("%s-${%s}", name, EnvShardID),
12181218
"-Dpulsar.allocator.exit_on_oom=true",
12191219
setLogLevel,
1220-
"-XX:MaxRAMPercentage=40",
1220+
"-XX:MaxRAMPercentage=70",
12211221
"-XX:+UseG1GC",
12221222
"-XX:+HeapDumpOnOutOfMemoryError",
12231223
"-XX:HeapDumpPath=/pulsar/tmp/heapdump-%p.hprof",

0 commit comments

Comments
 (0)