Fix Java Heap Space issue by forcing java memory parameters on command line