-Xms12g -Xmx16g
for 32gb of RAM
or even
-Xms16g -Xmx16g
if you are confident in the CPU and internet connection
in your .bat
xms is the small size, this is how much data it collects before sending packets.
Most times you want this lower than
xmx - this is the max allocated ram to the server - likely what you are trying to increase