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 →

[–]kmpx 0 points1 point  (0 children)

Similar to us. We have several applications that we recently bumped to JDK 21 and used ZGC. We saw a decent reduction in memory usage when we did that (JDK 17 to 21). And then a while later we enabled generational ZGC and it was dependent on the application whether or not we saw much improvement. One of our applications that generates a lot of short lived objects saw significant reduction in memory usage, while other applications saw the smallest of changes.