Limit memory usage

This commit is contained in:
斟酌 鵬兄 2018-12-08 00:28:30 +08:00
parent e6eb7ea34d
commit a63e4751df

View File

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