diff options
| author | 2020-08-12 22:07:18 +0000 | |
|---|---|---|
| committer | 2020-08-12 22:07:18 +0000 | |
| commit | fd5978a47392333c87fd92cdc3d47c8cd439de2c (patch) | |
| tree | 7176f0650d05c38a6aca0d8f00122a30c517b5a1 /java/lint.go | |
| parent | 50a58067e6d11f2557de5adda11f3765529e3249 (diff) | |
| parent | e22217956f726fd2e7c962fc53b9f23ff4c61d46 (diff) | |
Merge "Increase heap size for lint tool"
Diffstat (limited to 'java/lint.go')
| -rw-r--r-- | java/lint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/lint.go b/java/lint.go index f2091db7b..b37f69265 100644 --- a/java/lint.go +++ b/java/lint.go @@ -319,7 +319,7 @@ func (l *linter) lint(ctx android.ModuleContext) { cmd := rule.Command(). Text("("). - Flag("JAVA_OPTS=-Xmx2048m"). + Flag("JAVA_OPTS=-Xmx3072m"). FlagWithArg("ANDROID_SDK_HOME=", homeDir.String()). FlagWithInput("SDK_ANNOTATIONS=", annotationsZipPath). FlagWithInput("LINT_OPTS=-DLINT_API_DATABASE=", apiVersionsXMLPath). |