DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
709 stars 248 forks source link

Java Compilation problem #154

Closed dtatay closed 9 years ago

dtatay commented 9 years ago

When i start to judge a java code the followed error is occurred.

'Error occurred during initialization of VM'
'Could not reserve enough space for object heap'

i have read this http://www.domjudge.org/docs/admin-manual-8.html#ss8.2 but judge/compile_java.sh is missing??

chroot is deactivated.

please help.

eldering commented 9 years ago

Hi,

That FAQ still applies, but the documentation is a bit out of date. The compile scripts are now stored in the database and can be edited through the admin web interface: from the main page go to "executables" and then the compile_java_javac_detect script (if you haven't changed the default for Java) and then "view contents", and click the edit button to edit it.

Alternatively, if you're using version 4.0, enabling Linux cgroups mostly circumvents these memory issues.

Finally, please use the domjudge-devel mailinglist for questions and problems. This issue tracker is for bugs and feature requests.

Best, Jaap

On 05/12/14 08:52, dtatay wrote:

When i start to judge a java code the followed error is occurred.

'Error occurred during initialization of VM'

'Could not reserve enough space for object heap'

i have read this http://www.domjudge.org/docs/admin-manual-8.html#ss8.2 but judge/compile_java.sh is missing??

chroot is deactivated.

please help.

— Reply to this email directly or view it on GitHub https://github.com/DOMjudge/domjudge/issues/154.