increase nlp java memory limit to 4G instead of the previous 1G