[Labs-l] Need some help to run a Java program with jsub

John phoenixoverride at gmail.com
Mon Dec 9 13:40:11 UTC 2013


have you tried setting it to 1G ? also if you hop on IRC I can try and help

On Mon, Dec 9, 2013 at 8:23 AM, Antoine D <hercule.wikipedia at gmail.com>wrote:

> Hello,
>
> I have troubles to migrate my java program from the Toolserver to Labs. On
> Irc I was told that I could find some help with this mailing list.
>
> When I connect to tools-login.wmflabs.org, I run "become herculebot" and
> can run with no problem the following command line :
>
> java -Xmx128M -Xms128M -jar /data/project/herculebot/Wikipedia.jar
>
>
> So I want to add it to my crontab. I run "crontab e" and add the following
> line :
>
> 37 * * * * cd /data/project/herculebot/ && usr/local/bin/jsub -once -mem
> 256m -N Cacographies -j y java -Xmx128M -Xms128M -jar
> /data/project/herculebot/Wikipedia.jar
>
> Every time I have the same output in my Cacographies.out file :
>
>  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
>
> I tried to add more memory with -mem, I tried to change my Xmx and my Xms
> parameters, but nothing works.
>
> Is there an other user that run some Java tools ? I really need some help,
> as the Toolserver will soon close.
>
> Thanks in advance,
>
>
> Hercule
>
> _______________________________________________
> Labs-l mailing list
> Labs-l at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/labs-l
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wikimedia.org/pipermail/labs-l/attachments/20131209/1d6382c1/attachment.html>


More information about the Labs-l mailing list