mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2024-12-28 04:51:44 +00:00
Fix the bug for 'java_lang_config'
提交JAVA代码时,总是返回运行时错误,原因是在java的配置中,缺了memory_limit_check_only这个参数,现已修复
This commit is contained in:
parent
0bf9bed776
commit
86dc2dee18
@ -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' => [
|
||||
|
Loading…
Reference in New Issue
Block a user