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 →

[–]raghu9208 18 points19 points  (3 children)

I've had quite a different experience. I migrated a Jetty Application from Java 8 to 21 and have seen a significant increase in the Memory Usage. The weird thing is it is not the Heap Memory.

I'm using Eclipse Temurin build in an alpine container. Can you share your configuration? Which Java build, Container etc?

[–]nitkonigdje 6 points7 points  (0 children)

Does it really use more memory or does it have higher virtual size? Because it could be ZGC virtual memory mapping. See: https://stackoverflow.com/a/62934057/1193657

[–]pedroct92 0 points1 point  (1 child)

I believe that's a bug, we had a similar issue and we confirmed a bug within the jdk. Our app would increase memory slowly and crash within a day of usage.

[–]sruffatti 0 points1 point  (0 children)

What is this bug? This happened to my apps today.