mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
去除Java编译的内存限制
This commit is contained in:
parent
24a1b0a064
commit
84a7a460b1
@ -30,8 +30,7 @@ languages = {
|
|||||||
"code": 3,
|
"code": 3,
|
||||||
"compile_max_cpu_time": 3000,
|
"compile_max_cpu_time": 3000,
|
||||||
"compile_max_memory": 1024 * 1024 * 1024,
|
"compile_max_memory": 1024 * 1024 * 1024,
|
||||||
"compile_command": "/usr/bin/javac {src_path} -d {exe_path} -J-Xss1m -J-XX:MaxPermSize=16M "
|
"compile_command": "/usr/bin/javac {src_path} -d {exe_path} -encoding UTF8",
|
||||||
"-J-XX:PermSize=8M -J-Xms16m -J-Xmx1024m -encoding UTF8",
|
|
||||||
"execute_command": "/usr/bin/java -cp {exe_path} -Xss1M -XX:MaxPermSize=16M "
|
"execute_command": "/usr/bin/java -cp {exe_path} -Xss1M -XX:MaxPermSize=16M "
|
||||||
"-XX:PermSize=8M -Xms16M -Xmx{max_memory} -Djava.security.manager "
|
"-XX:PermSize=8M -Xms16M -Xmx{max_memory} -Djava.security.manager "
|
||||||
"-Djava.security.policy==policy -Djava.awt.headless=true Main",
|
"-Djava.security.policy==policy -Djava.awt.headless=true Main",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user