Update java memory for travis-ci

[#55226210]