Update Java memory

Update java memory
Merge pull request #7 from zvn/master

Update Java memory