【发布时间】:2021-04-13 01:53:44
【问题描述】:
我正在尝试增加我的 Go 服务器的 JVM 内存。
这是我在 /etc/default/go-server 上看到的
# Ansible managed
export GO_SERVER_SYSTEM_PROPERTIES="-Dmail.smtp.starttls.enable=true"
export GO_SERVER_PORT=8153
export GO_SERVER_SSL_PORT=8154
export JAVA_HOME=/usr/lib/jvm/java
export SERVER_WORK_DIR=/var/lib/go-server
export GO_SERVER_SYSTEM_PROPERTIES="$GO_SERVER_SYSTEM_PROPERTIES -Dgo.plugin.build.status.go-server=http://localhost:8153"
知道如何在此处为 GO_SERVERSYSPROPS 添加 -Xmx2048m 吗?
谢谢。
【问题讨论】:
标签: java jvm out-of-memory go-cd