forked from openkylin/platform_build
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
This commit is contained in:
parent
077868f8cd
commit
29b3afaf79
|
@ -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), \
|
||||
|
|
Loading…
Reference in New Issue