title: Java IO Exception - Selenium GRID
body: <p>I am new to Grid. I am able to start the Hub and a couple of RC servers, but when I am trying to run my test case, I am getting typical JAVA IO error. Below is error stack on one of the RC servers.</p>
  
  <pre><code>&lt;error&gt;
  [java] java.lang.RuntimeException: java.io.IOException: Cannot run
  program "/usr/lib/firefox-3.0.19/firefox": java.io.IOException:
  error=12, Cannot allocate memory
  &lt;error&gt;
  </code></pre>
  
  <p>How do I handle this in Selenium grid? I remember using <code>-Xmx</code> and <code>-Xm</code>s to set max memory usage in the application servers. Is there any similar way to setting memory space for grid?</p>