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

Antoine D hercule.wikipedia at gmail.com
Mon Dec 9 13:50:29 UTC 2013


I tried with 1G with no more success. I come on IRC but can't log to the
toolserver before this evening (in France it's 2:50 PM)


2013/12/9 John <phoenixoverride at gmail.com>

> 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
>>
>>
>
> _______________________________________________
> 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/2c2ba3d9/attachment.html>


More information about the Labs-l mailing list