Remove -XX:MaxPermSize (#2712)

This was removed in JDK 8 and produces a warning
This commit is contained in:
Richard Whitehouse
2019-04-23 04:34:01 +01:00
committed by William Cheng
parent ff556609c7
commit a4be2c0bb4
291 changed files with 292 additions and 292 deletions

View File

@@ -33,7 +33,7 @@ echo "Removing files and folders under $STUB_DIR"
rm -rf $STUB_DIR
# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="generate -t modules/openapi-generator/src/main/resources/go -i $SPEC -g $GENERATOR -o $STUB_DIR -DpackageName=petstore,withXml=true,withGoCodegenComment=true $@"
java $JAVA_OPTS -jar $executable $ags