JVM Memory Dynamic Assignment


(Sharad Goyal) #1

I have multiple tasks in grade approx 100. For each task, I need to define different memory settings for each task.
Currently, JVM memory size is hard coded in grade.properties.
-XX:MaxPermSize=64m

In Gradle, how I can pass the JVM parameters dynamically for each different task?