Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What does the -Xms flag do?
Think about what happens at the start of the application.
What is the purpose of the -Xmx flag?
Consider how much memory an application can use.
What does the -Xms flag control?
Focus on what happens at application startup.
True or False: The -XX:+HeapDumpOnOutOfMemoryError flag will create a heap dump when the JVM is running normally.
Consider when heap dumps are valuable.
You are experiencing performance issues in a Java web application that serves a large number of requests. Propose a set of JVM tuning flags that could help alleviate the stress on memory.
Think about a balance of starting memory and maximum memory, and the collector that fits your needs.
Your application faces high pause-times due to garbage collection. Analyze which flags could be adjusted or introduced to mitigate this issue.
Focus on reducing the impact of garbage collection on performance.
6 more questions in this section. Enroll free to practise them all.
Enroll free