|
@@ -438,6 +438,7 @@ task run(type: RunTask) {}
|
|
|
* </dl>
|
|
|
*/
|
|
|
Map<String, String> expansionsForDistribution(distributionType) {
|
|
|
+ String heapSize = '512m'
|
|
|
String footer = "# Built for ${project.name}-${project.version} " +
|
|
|
"(${distributionType})"
|
|
|
Map<String, Object> expansions = [
|
|
@@ -457,8 +458,8 @@ Map<String, String> expansionsForDistribution(distributionType) {
|
|
|
'def': '',
|
|
|
],
|
|
|
|
|
|
- 'heap.min': '256m',
|
|
|
- 'heap.max': '1g',
|
|
|
+ 'heap.min': "${heapSize}",
|
|
|
+ 'heap.max': "${heapSize}",
|
|
|
|
|
|
'stopping.timeout': [
|
|
|
'rpm': 86400,
|