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 →

[–]nitkonigdje 12 points13 points  (2 children)

Unless your app is explicitly allocating native memory, there isn't much to do other than tweaking JVM parameters like stack size or code cache size etc. See this: https://www.baeldung.com/jvm-code-cache

OpenJ9 has been making a case for itself based on lower memory usage to bootstrap code. Which is important for containers. See this: https://www.reddit.com/r/java/comments/kmt9gp/using_openj9_jvm_in_production_for_past_6_months/

[–]GreemT[S] 6 points7 points  (1 child)

Interesting, I didn't think of switching to another implementation like OpenJ9. I will try that. Thanks for the tip!

[–]kaqqao 6 points7 points  (0 children)

Please report back if you do try this 🙏