I’m having a lot of trouble with the gradlew.bat script. If I put in:
set JAVA_OPTS="-Xmx1024m"
this seems to work. However if I put in
set JAVA_OPTS="-Xmx1024m -XX:MaxPermSize=256m
I get this:
Invalid maximum heap size: -Xmx1024m -XX:MaxPermSize=256m Could not create the Java virtual machine.
Putting these settings in the unix script works fine.
Seems like there is something obvious I’m overlooking, but don’t know what.