diff options
author | Wink Saville <wink@google.com> | 2012-01-30 15:30:10 -0800 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2012-01-30 15:30:10 -0800 |
commit | 29b3afaf79e89e5707c6a28e7ed55d3c04810352 (patch) | |
tree | 4759d057d7a82be8aa50b3da2d94f7ba50a13833 /core/definitions.mk | |
parent | 077868f8cd30e2e195cbdeb0305596010eafdc8b (diff) | |
download | build-29b3afaf79e89e5707c6a28e7ed55d3c04810352.zip build-29b3afaf79e89e5707c6a28e7ed55d3c04810352.tar.gz build-29b3afaf79e89e5707c6a28e7ed55d3c04810352.tar.bz2 |
Increase java heap size.
I got an Out of memory while compiling, Andreas Huber suggested that
increasing the heap size, which worked.
Change-Id: Id8293ef100ef814b0fe13aa6e1b891a36a2ee853
Diffstat (limited to 'core/definitions.mk')
-rw-r--r-- | core/definitions.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk index fa0705c..1b09d86 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1535,7 +1535,7 @@ define transform-classes.jar-to-dex @echo "target Dex: $(PRIVATE_MODULE)" @mkdir -p $(dir $@) $(hide) $(DX) \ - $(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx1536M) \ + $(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx2048M) \ --dex --output=$@ \ $(incremental_dex) \ $(if $(NO_OPTIMIZE_DX), \ |