3 ms·JVM has -Xmx for choosing how much memory you want it to use.by gowld 9y agoJVM has -Xmx for choosing how much memory you want it to use.