cleaned up and increased memory limit for java