These JVM args don’t need to b quoted. Why are you deactivating the daemon? That’s just going to make all your builds much slower with no benefit. Also, the stack size and max perm size are a bit low and class sharing is not something that we test for, so I recommend not using it.
Note that if you specify any “org.gradle.jvmargs”, the Gradle command line client will check to make sure it matches these arguments and will start a single-use build process if it doesn’t. The client VM arguments are controlled by the environment variable GRADLE_OPTS.
I recommend setting GRADLE_OPTS to something small like 32-64M (the client only handles some logging in daemon mode), using the daemon and giving it enough resources (standard stack size, at least 64m permgen space and at least 64m heap). The gradle.properties should be set on a project level, not at the user level, since every project will have different requirements. That way you can keep it low for small projects, but spawn a big daemon if you have some large project.