Iam trying to build my project in windows machine, i have around 1500 source files to be compiled and gradle is giving outofmemory error. I tried to build by setting the GRADLE_OPTS variable like below, but still it is giving the same error.
however iam able to build on linux machine…
‘gradle -D GRADLE_OPTS="-Xmx2048m -Xms256m -XX:MaxPermSize=512m -XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError" clean build’
Can anybody help me on this?