Skip to content

Memory keeps growing and never releases again #2428

@myxyz

Description

@myxyz

Describe the issue
native-image in windows Memory keeps growing and never releases again set Xmx or XX:MaxHeapSize no effect

graalvm 20.0.0 CE jdk8 or jdk11 in windows both have

native-image ^ 
-H:TempDirectory=e:/tmp ^ 
--verbose ^ 
--no-server ^ 
--no-fallback ^ 
--enable-all-security-services ^ 
-H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy$BySpaceAndTime ^ 
-H:+ReportExceptionStackTraces ^ 
-H:EnableURLProtocols=http,https ^ 
-H:-UseServiceLoaderFeature ^ 
-J-Dfile.encoding=UTF-8 ^ 
-R:MaxHeapSize=256M ^ 
-R:MinHeapSize=16M ^ 
--report-unsupported-elements-at-runtime ^ 
--allow-incomplete-classpath ^ 
-H:+AddAllCharsets ^ 
-H:ReflectionConfigurationFiles=d:/eclipse-workspace/host-agent-windows/native-image/reflect-config.json ^ 
-H:ResourceConfigurationFiles=d:/eclipse-workspace/host-agent-windows/native-image/resource-config.json ^ 
-H:JNIConfigurationFiles=d:/eclipse-workspace/host-agent-windows/native-image/jni-config.json ^ 
-jar D:\eclipse-workspace\host-agent-windows\target\host-agent.jar

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions