开发者

Java IO Exception - Selenium GRID

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.

<error开发者_如何学JAVA>
[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
<error>

How do I handle this in Selenium grid? I remember using -Xmx and -Xms to set max memory usage in the application servers. Is there any similar way to setting memory space for grid?


This doesn't look like it's a Java issue. It looks like your machine is just out of memory. Take a look at the output of "free" to verify.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜