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
The JVM maps in shared libraries which are about 150m. The amount of virtual memory used is unlikely to be important to use if you are trying to minimise physical main memory.
The number you want to look at is the resident memory which is amount of physical main memory actually used (which is 16 MB)