Skip to content

Commit e4600f8

Browse files
Gooolerqurbonzoda
authored andcommitted
Replace MaxPermSize with MaxMetaspaceSize for JDK 17
I can't run this project on JDK 17 cause `MaxPermSize` has been removed from that, we can replace it to support running on newer JDKs. https://docs.oracle.com/en/java/javase/17/docs/specs/man/java.html#removed-java-options
1 parent 1ddfc2c commit e4600f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ group=org.jetbrains.kotlinx
22
version=0.4
33
versionSuffix=SNAPSHOT
44

5-
org.gradle.jvmargs=-Xmx2g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
5+
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

0 commit comments

Comments
 (0)