changed java from java -Xmx2g to java -Xmx16g