penguin/AstroJS

Javascript framework for my blog

commit a63e4751df36486fbb51d27c4096bdff2c16527f

author斟酌 鵬兄 <tgckpg@gmail.com>
date2018-12-07T16:28:30Z
subjectLimit memory usage
commit a63e4751df36486fbb51d27c4096bdff2c16527f
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date:   2018-12-07T16:28:30Z

    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 ):