I am attempting to run a few jobs on auger that run a small java program I wrote (each instance of this program will generate a histogram for one of the recon files, but what the java program does is irrelevant to this error), however I get an error, saying that the JVM cannot be created.  How can I fix this?  

here is the error:

spaul@ifarm1101:~$ more ~/.farm_out/q2.14734918.out

~/HPS_Muon_Graphs 

/usr/bin/java

Error occurred during initialization of VM

Could not reserve enough space for object heap

#

# There is insufficient memory for the Java Runtime Environment to continue.

# pthread_getattr_np

Abort

-------------------------------------------

Resource usage summary:

cput=00:00:03,mem=0kb,vmem=0kb,walltime=00:00:03

spaul@ifarm1101:~$ more ~/.farm_out/q2.14734918.err

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.



  here is the xml file:

spaul@ifarm1101:~$ more ~/q2hist.xml

<Request>

  <Email email="[log in to unmask]" request="true" job="true"/>

  <Project name="hps"/>

  <Track name="analysis"/>

  <Name name="q2"/>

  <Variable name="dir" value="/work/hallb/hps/sebouh"/>

<!--  <List name="digit">11 12 13 14 15 16 17 18 19 20</List>-->

  

<List name="N">0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50

 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81</List>

<List name="run">5779 5781</List>

  <ForEach list="N">

    <ForEach list="run">

    <Job>

      <Memory space="2800" unit="MB"/>

      <TimeLimit time="3" unit="days"/>

      <!-- Properties overridden here -->

      <Command><![CDATA[



        #source /site/env/syscshrc

        #source $JLAB_ROOT/production.csh-->

source ~/.cshrc

        cd HPS_Muon_Graphs

        which java

        java -version

        java -Xmx1200m -cp "lib/*:bin" hps.protonradius.HistogramQ2 /work/hallb/hps/data/engrun2015/pass1/recon/hps_00${run}.${N}_recon_R3321.slcio /work/hal

lb/hps/sebouh/histograms/${run}/${N}.aida


      ]]></Command>

    </Job>


    </ForEach>

  </ForEach>

  


</Request>



Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1