From a63e4751df36486fbb51d27c4096bdff2c16527f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Sat, 8 Dec 2018 00:28:30 +0800 Subject: [PATCH] Limit memory usage --- botanjs/compressor/closure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botanjs/compressor/closure.py b/botanjs/compressor/closure.py index 74468e7..9a9c42e 100755 --- a/botanjs/compressor/closure.py +++ b/botanjs/compressor/closure.py @@ -23,7 +23,7 @@ class Wrapper: E = "" def __init__( self ): - self.C = "java -jar "+ COMPILER + " " + " ".join( COMPILER_OPTIONS ) + self.C = "java -jar -Xmx64M "+ COMPILER + " " + " ".join( COMPILER_OPTIONS ) def scanExterns( self, sdir ): for root, dirs, files in os.walk( sdir ):