mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-11-04 14:50:01 +08:00
Merge pull request #17 from NB-Dragon/patch-1
Fix the bug for 'java_lang_config'
This commit is contained in:
commit
b532838e4c
@ -60,7 +60,8 @@ return [
|
|||||||
'run' => [
|
'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',
|
'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,
|
'seccomp_rule' => null,
|
||||||
'env' => array_merge(['MALLOC_ARENA_MAX=1'], $default_env)
|
'env' => $default_env,
|
||||||
|
'memory_limit_check_only' => 1
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'py2_lang_config' => [
|
'py2_lang_config' => [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user