Published in


Lightweight cloud-native Java applications

In this short note, we want to visualize the benefits GraalVM native images offer you.

Several projects have accepted GraalVM Native Image as a platform for their applications: Quarkus, Micronaut, Helidon — support GraalVM native images. Spring Framework recently announced the upcoming support for native images.

We measured startup and memory footprint of a basic microservice in Helidon, Quarkus, and Micronaut and here are the results we got.

Let’s start with the startup time. GraalVM native images allow any framework to start up in milliseconds. While there are differences in the exact measurements between the implementations, the largest portion of the benefits are coming from using native images.

GraalVM native images are ~50x faster to start up.

We see similar results when we measure memory footprint, which on the graph below is the full RSS of the process. Again, for all frameworks GraalVM native images significantly reduce the runtime memory requirements compared to running on HotSpot.

GraalVM native images use ~5x less memory.

We believe that GraalVM native images can become the best way for deploying cloud native applications and we are excited to see many in the ecosystem believing the same. While we continue to work on enabling easier configuration and broader support for the existing libraries, already now GraalVM native images can be used with several web-application frameworks and significantly improve their startup times and runtime memory usage.

More information about getting started with GraalVM native images can be found on the GraalVM website.

When you download GraalVM binaries:, check out these helpful links to the getting started guides for the frameworks we looked at:




GraalVM team blog -

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Oleg Šelajev

Oleg Šelajev

Developer advocate at AtomicJar

More from Medium

Multi-Tenancy Support With Spring Boot, Liquibase, and PostgreSQL

Speed up My mvn with mvnd

Java 11 features

[BDD] — Behaviour Driven Development with Java and Cucumber