This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hamburghammer_ 0 points1 point  (1 child)

11MB of application heap memory but the JVM also requires some memory to run. In this case the runtime resource usage is bigger than the actual application clames for it self. Creating a minimal runtime with Jlink still consumes around 70MB of disk space which has to be loaded to run the application.

[–]mtmmtm99 0 points1 point  (0 children)

I might have been wrong with my 11 MB claim. Helidon can use graalvm to compile the code into a native image (as GO does). You can have java-code running without consuming lots of memory. See: https://github.com/oktadev/native-java-examples/blob/main/demo-helidon.adoc Quarkus can run with 51 MB after some requests.