Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What does the -Xms parameter signify?
Think of it as what the JVM starts with.
Name a tool used for monitoring Java heap?
It's a monitoring tool that comes with the JDK.
What does the -Xmx parameter represent?
Think about the limits on memory.
True or False: Monitoring heap usage is not necessary if you set -Xms and -Xmx correctly.
How dynamic are applications?
Your application initially runs with -Xms1g and -Xmx4g but starts facing OutOfMemoryErrors under high load. What would be your troubleshooting steps?
Consider what maximum your application's requirements would be under expected load.
After using VisualVM, you notice that your heap usage consistently reaches 95% during peak operations. What actions should you consider taking?
How might you predict future usage?
4 more questions in this section. Enroll free to practise them all.
Enroll free