changed -Xmx2g to -Xmx512m when invoking JVM to run minall task. See https://github.com/angular/angular.js/issues/4595