java heap space memory cmd code example Example: java memory increase command set SBT_OPTS="-Xmx4096M"