Skip to content

Commit

Permalink
Update MaxRAMPercentage to 70
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Dec 18, 2024
1 parent f2e04fc commit fcf4bfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/spec/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ func getProcessJavaRuntimeArgs(name, packageName, clusterName, logLevel, details
"-Dpulsar.function.log.file=" + fmt.Sprintf("%s-${%s}", name, EnvShardID),
"-Dpulsar.allocator.exit_on_oom=true",
setLogLevel,
"-XX:MaxRAMPercentage=40",
"-XX:MaxRAMPercentage=70",
"-XX:+UseG1GC",
"-XX:+HeapDumpOnOutOfMemoryError",
"-XX:HeapDumpPath=/pulsar/tmp/heapdump-%p.hprof",
Expand Down

0 comments on commit fcf4bfc

Please sign in to comment.