Fix the bug for 'java_lang_config'

提交JAVA代码时,总是返回运行时错误,原因是在java的配置中,缺了memory_limit_check_only这个参数,现已修复
This commit is contained in:
NB-Dragon 2018-09-24 00:47:19 +08:00 committed by GitHub
parent 0bf9bed776
commit 86dc2dee18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,8 @@ return [
'run' => [
'command' => '/usr/bin/java -cp {exe_dir} -Xss1M -XX:MaxPermSize=16M -XX:PermSize=8M -Xms16M -Xmx{max_memory}k -Djava.security.manager -Djava.security.policy==/etc/java_policy -Djava.awt.headless=true Main',
'seccomp_rule' => null,
'env' => array_merge(['MALLOC_ARENA_MAX=1'], $default_env)
'env' => $default_env,
'memory_limit_check_only' => 1
]
],
'py2_lang_config' => [