Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Isn't your "second aspect" equally addressed by increasing the memory allocation to the VM? And great point on tmpfs, I didn't think of that. Luckily Ubuntu seems to make limited use of it as compared to other distros. Commented Jan 18, 2018 at 14:52
  • 2
    Increasing the memory allocation isn’t necessarily a good strategy to deal with overcommit: for example with a JVM configured with -Xmx8g, you need 16G allocated to the VM but you’ll never use much more than 8 (well 10 maybe), whereas 8G RAM + 4-6G swap would allow it to start fine. Commented Jan 18, 2018 at 15:01