[GRADLE-1240] Need a way to set JVM memory args for the Gradle Daemon Created: 01/Dec/10 Updated: 04/Jan/13 Resolved: 06/Feb/12
As of 0.9-rc-3 the JVM args for the daemon are hardcoded in DaemonConnector.startDaemon(). This means we cannot tune the daemon (i.e. set the max heap, permgen). A mechanism to do this would be great, since (on my system at least) 1GB heap is quite a large footprint.
|Comment by Szczepan Faber [ 11/Aug/11 ]|
|Comment by Adam Murdoch [ 14/Aug/11 ]|
some other options:
in any case, we need to consider what happens when the settings have changed since the daemon was started. Restarting the daemon is an option. Starting a new daemon is another option. This way we won't toggle when multiple builds are running with different GRADLE_OPTS.