Replies: 3 comments 5 replies
-
Unfortunately, there's not a lot we can do to help with this. A major Java version upgrade can cause changes in behavior like this, and until there are more specific details and understandings of what is happening it's beyond the scope of what we as the Java Buildpacks team can help you investigate. That said, We do provide some access to tooling in the JVM that can help debug memory issues. Specifically we enable Java NMT native memory tracing so you can track memory usage in your apps. By default it dumps NMT output when the app exits but you could trigger a manual dump with jcmd or jattach. We also make it easy to take flight recordings with JFR that can help you debug. Also, Paketo provides Buildpacks that help integrate with several APM tools which might also be useful here. If you are able to narrow this down and there is some specific thing the Buildpack is doing, like a JVM flag we're setting, that is causing problems we'd be happy to help with that. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks @dmikusa Currently all hands are on downgrading to jdk 17, where things works as expected. See rss bellow. If time allows I will investigate the issue later. BTW I wonder if the memory settings or availableProcessors settings calculated by the memory calculator has any influence. |
Beta Was this translation helpful? Give feedback.
-
After upgrading from jdk 17 to. jdk 21 we see increased rss memory usage compared to jdk 17 running on gke k8s.
This is a midsized spring-boot app that on jdk17 consumed around 400-> 500Mbi rss memory. Now it's about 750 Mbi.
I'm not able to see any GC activity releasing memory.
To me it seems that jdk21 has issues on k8s ?
The app is build using buildpacks with defaults, and started using ->
Currently is just increasing ->
Beta Was this translation helpful? Give feedback.
All reactions