refactored MEMORY to JVM_OPTS and enabled clean-start