Update Java memory

Update java memory