---
title: "Discussion on \"Spring Boot in a 512 MB container: JVM flags, a layered image, and honest start-up numbers\" | Hashnode"
description: "Discussion on \"Spring Boot in a 512 MB container: JVM flags, a layered image, and honest start-up numbers\". JVM flags for a quarter-CPU container, the Boot settings that cut start-up time, a layered Dockerfile on Java 21, and honest start-up numbers. SnapDeploy is itself a Spring Boot app, so this is tested daily."
url: "https://hashnode.com/posts/spring-boot-512mb-container/6af93c6489165eb2914413f5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Spring Boot in a 512 MB container: JVM flags, a layered image, and honest start-up numbers](https://snapdeploy.hashnode.dev/spring-boot-512mb-container?utm_source=hashnode&utm_medium=feed)

JVM flags for a quarter-CPU container, the Boot settings that cut start-up time, a layered Dockerfile on Java 21, and honest start-up numbers. SnapDeploy is itself a Spring Boot app, so this is tested daily.

14h ago · 7 min read · snapdeploy.hashnode.dev  
Read the article

-   [#java](https://hashnode.com/tag/java)
-   [#spring-boot](https://hashnode.com/tag/spring-boot)
-   [#docker](https://hashnode.com/tag/docker)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[SnapDeploy](https://hashnode.com/@SnapDeploy)

@SnapDeploy · India

  
[View profile](https://hashnode.com/@SnapDeploy)

From source code to infrastructure in 5 minute, not hours

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
