Forwarded this to the mailing list: I am travelling atm. -Jaap
------------------------------------------------------------------------ *From:* Raj Baghel raj.baghel@finoit.co.in *Sent:* 19 March 2016 04:45:15 GMT-03:00 *To:* Jaap Eldering jaap@jaapeldering.nl *Subject:* Re: Error occurred during initialization of VM
Hi Jaap
Thanks For your reply and i have subscribed to emaillist
Still the problem is same I have increase MEMRESERVED to 3GB on both files java_javac and java_javac_detect
I have run ./create_cgroups as well and also set grub_cmdline_linux_default = " quiet cgroup_enable=memory" and update grub
still have this error :
sudo ./judgedaemon [Mar 19 13:04:49] judgedaemon[3402]: Judge started on f003 [DOMjudge/5.1.0] [Mar 19 13:04:49] judgedaemon[3402]:*Not using cgroups. Using cgroups is highly recommended. See the manual for details.* [Mar 19 13:04:49] judgedaemon[3402]: Registering judgehost on endpoint http://localhost/api/ [Mar 19 13:04:49] judgedaemon[3402]: No submissions in queue (for endpoint default), waiting...
Not understand how to enable cgroups
My Java programs are not complied although c and C++ programs are working fine.
Thanks Raj Baghel
On Thu, Mar 17, 2016 at 10:02 PM, Jaap Eldering <jaap@jaapeldering.nl mailto:jaap@jaapeldering.nl> wrote:
Hi Raj,
First, please subscribe to this emaillist to make sure that your emails arrive automatically.
To what size did you raise the memory limit? Try to raise it at least to 2GB if you're not using Linux cgroups. Unfortunately, the way that memory is reserved by the JVM and counted (using resource limits) by Linux often requires such huge amounts.
Therefore we strongly recommend using cgroups: that measures only memory really used by the JVM and requires more reasonable overhead.
Best, Jaap
On 17-03-16 02:48, Raj Baghel wrote: > Hi Team > > > I am using your DomJudge Product > > i am facing this Error can you help me on that : > > Compiling failed with exitcode 1, compiler output: > Error occurred during initialization of VM > Could not reserve enough space for object heap > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > > It works fine for C and C++ program > > I have increase MEMRESERVED in java_javac > > also increase Memory limit and process limit but nothing work for me > > > Thanks > > Raj Baghel > > > > > > > > _______________________________________________ > DOMjudge-devel mailing list > DOMjudge-devel@domjudge.org mailto:DOMjudge-devel@domjudge.org > https://www.domjudge.org/mailman/listinfo/domjudge-devel >
Hi Raj,
On Wed, March 23, 2016 19:26, Jaap Eldering wrote:
Thanks For your reply and i have subscribed to emaillist
Sorry for the late reply.
Still the problem is same I have increase MEMRESERVED to 3GB on both files java_javac and java_javac_detect
I have run ./create_cgroups as well and also set grub_cmdline_linux_default = " quiet cgroup_enable=memory" and update grub
still have this error :
sudo ./judgedaemon [Mar 19 13:04:49] judgedaemon[3402]: Judge started on f003 [DOMjudge/5.1.0] [Mar 19 13:04:49] judgedaemon[3402]:*Not using cgroups. Using cgroups is highly recommended. See the manual for details.* [Mar 19 13:04:49] judgedaemon[3402]: Registering judgehost on endpoint http://localhost/api/ [Mar 19 13:04:49] judgedaemon[3402]: No submissions in queue (for endpoint default), waiting...
Not understand how to enable
I think you missed that after installing the necessary packages, you need to re-run "./configure" and "make judgehost" to actually ensure that cgroups are used in the judgedaemon.
Cheers, Thijs
Cheers, Thijs