How to set the maximum memory usage for JVM?

Viewed 348085

I want to limit the maximum memory used by the JVM. Note, this is not just the heap, I want to limit the total memory used by this process.

5 Answers
Related