reduce memory usage of program java code example Example: java memory increase command set SBT_OPTS="-Xmx4096M"