pateo@pateo-B86N53X:/work/project/DLS-Auto-F6_a1001eh/build$ gedit core/definitions.mk
pateo@pateo-B86N53X:/work/project/DLS-Auto-F6_a1001eh/build$ git diff .
diff --git a/core/definitions.mk b/core/definitions.mk
index a88537b..00f9f74 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1525,7 +1525,7 @@ define transform-classes.jar-to-dex
@echo "target Dex: $(PRIVATE_MODULE)"
@mkdir -p $(dir $@)
$(hide) $(DX) \
- $(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx2048M) \
+ $(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx1024M) \
--dex --output=$@ \
$(incremental_dex) \
$(if $(NO_OPTIMIZE_DX), \