[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 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.9-rc-3 |
Fix Version/s: | 1.0-milestone-8 |
Type: | Improvement | ||
Reporter: | Chris Brookes | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 4 |
Description |
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. |
Comments |
Comment by Szczepan Faber [ 11/Aug/11 ] |
We could:
|
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. |