increase memory java command line code example Example: java memory increase command set SBT_OPTS="-Xmx4096M"