You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@linkis.apache.org by "peacewong (via GitHub)" <gi...@apache.org> on 2023/03/20 03:17:13 UTC
[GitHub] [linkis] peacewong commented on a diff in pull request #4379: add metaspace config
peacewong commented on code in PR #4379:
URL: https://github.com/apache/linkis/pull/4379#discussion_r1141582395
##########
linkis-computation-governance/linkis-engineconn/linkis-engineconn-plugin-core/src/main/scala/org/apache/linkis/manager/engineplugin/common/conf/EnvConfiguration.scala:
##########
@@ -41,13 +41,15 @@ object EnvConfiguration {
val ENGINE_CONN_CLASSPATH_FILES =
CommonVars("wds.linkis.engineConn.files", "", "engineConn额外的配置文件")
- val metaspaceSize = if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)) {
- "-XX:MaxMetaspaceSize=256m -XX:MetaspaceSize=128m"
+ val MAX_METASPACE_SIZE = CommonVars("linkis.engineconn.metaspace.size.max", "256m")
+
+ lazy val metaspaceSize = if (SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8)) {
Review Comment:
yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@linkis.apache.org
For additional commands, e-mail: notifications-help@linkis.apache.org