<div dir="ltr">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)</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/12/9 John <span dir="ltr"><<a href="mailto:phoenixoverride@gmail.com" target="_blank">phoenixoverride@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">have you tried setting it to 1G ? also if you hop on IRC I can try and help<br><br><div class="gmail_quote"><div><div class="h5">
On Mon, Dec 9, 2013 at 8:23 AM, Antoine D <span dir="ltr"><<a href="mailto:hercule.wikipedia@gmail.com" target="_blank">hercule.wikipedia@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hello,</div><div><br></div><div>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.</div>

<div><br></div><div>When I connect to <a href="http://tools-login.wmflabs.org" target="_blank">tools-login.wmflabs.org</a>, I run "become herculebot" and can run with no problem the following command line :</div>


<div><br></div><div>java -Xmx128M -Xms128M -jar /data/project/herculebot/Wikipedia.jar</div><div><br></div><div><br></div><div>So I want to add it to my crontab. I run "crontab e" and add the following line :</div>


<div><br></div><div>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</div><div><br></div><div>Every time I have the same output in my Cacographies.out file :</div>


<div><br></div><div> Error occurred during initialization of VM</div><div> Could not reserve enough space for object heap</div><div> Error: Could not create the Java Virtual Machine.</div><div> Error: A fatal exception has occurred. Program will exit</div>


<div><br></div><div>I tried to add more memory with -mem, I tried to change my Xmx and my Xms parameters, but nothing works. </div><div><br></div><div>Is there an other user that run some Java tools ? I really need some help, as the Toolserver will soon close.</div>


<div><br></div><div>Thanks in advance,</div><div><br></div><div><br></div><div>Hercule</div></div>
<br></div></div>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org" target="_blank">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Labs-l mailing list<br>
<a href="mailto:Labs-l@lists.wikimedia.org">Labs-l@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/labs-l" target="_blank">https://lists.wikimedia.org/mailman/listinfo/labs-l</a><br>
<br></blockquote></div><br></div>