adding JAVA_OPTS export to generate script to limit heap size