Hi,
strange. That would be ok. Are you sure that this java compile script is active? Check the language settings.
To do further debugging, you may want to edit the compile script and add echo statements to print MEMRESERVED and MEMLIMIT before taking the difference.
Cheers, Tobi
On 12/09/15 15:18, Br. Anand Shenoi wrote:
MEMRESERVED=300000Memory limit is: 3145728
Subject: Re: how to resolve this error? To: domjudge-devel@domjudge.org From: werth@cs.fau.de Date: Wed, 9 Dec 2015 15:12:52 +0100
Hi,
On 12/09/15 15:04, Br. Anand Shenoi wrote:
Tobias, the current value for Memory limit is: 3145728
as I wrote below, you have to check the MEMRESERVED value as well.
The compile script computes the difference here: https://github.com/DOMjudge/domjudge/blob/master/sql/files/defaultdata/java_...
Given that the difference is negative, MEMRESERVED is probably too high.
Cheers, Tobi
Subject: Re: how to resolve this error? To: domjudge-devel@domjudge.org From: werth@cs.fau.de Date: Wed, 9 Dec 2015 14:53:27 +0100
Hi Anand,
On 12/09/15 14:49, Br. Anand Shenoi wrote:
Program error output Invalid maximum heap size: -Xmx-983040k Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
Judging system output (info/debug/errors) Non-zero exitcode 1 runtime: 0.000s cpu, 0.008s wall memory used: 1277952 bytes
It looks like you changed either the memory limit in the configuration settings or the MEMRESERVED value in the java compile script, so that the difference is negative. You have to increase the global memory limit or to decrease the MEMRESERVED value.
Cheers, Tobi
PS: Please don't "hijack" other mail threads but create your own.
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel
DOMjudge-devel mailing list DOMjudge-devel@domjudge.org https://www.domjudge.org/mailman/listinfo/domjudge-devel