Fwd: Re: Error occurred during initialization of VM

Jaap Eldering jaap at jaapeldering.nl
Wed Mar 23 18:26:20 CET 2016

Forwarded this to the mailing list: I am travelling atm. -Jaap

*From:* Raj Baghel <raj.baghel at finoit.co.in>
*Sent:* 19 March 2016 04:45:15 GMT-03:00
*To:* Jaap Eldering <jaap at 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
[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.

Raj Baghel

On Thu, Mar 17, 2016 at 10:02 PM, Jaap Eldering <jaap at jaapeldering.nl
<mailto:jaap at 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.


    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 at domjudge.org <mailto:DOMjudge-devel at domjudge.org>
    > https://www.domjudge.org/mailman/listinfo/domjudge-devel

Sent from my Android device with K-9 Mail. Please excuse my brevity.

More information about the DOMjudge-devel mailing list