I\'d like to run a very simple bot written in java on my VPS. I want to limit jvm memory to let\'s say 10MB (I doubt it would need any more).
I\'m running the bot wi
Xmx is the max heap size, but besides that there's a few other things that the JVM needs to keep in memory: the stack, the classes, etc. For a brief introduction see this post about the JVM memory structure.
Xmx