summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--java/config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/config/config.go b/java/config/config.go
index b026d73cf..03288fe6a 100644
--- a/java/config/config.go
+++ b/java/config/config.go
@@ -78,7 +78,7 @@ var (
func init() {
pctx.Import("github.com/google/blueprint/bootstrap")
- exportedVars.ExportStringStaticVariable("JavacHeapSize", "2048M")
+ exportedVars.ExportStringStaticVariable("JavacHeapSize", "4096M")
exportedVars.ExportStringStaticVariable("JavacHeapFlags", "-J-Xmx${JavacHeapSize}")
// ErrorProne can use significantly more memory than javac alone, give it a higher heap