add java memory settings