Im trying to run Selenium RC with Nagios3. Everything works ok up to 3h... then selenium engine takes sometimes even 1.4G RAM and stop responding.
I'm starting selenium by:
java -server -Xss64k -Xms512m -Xmx1024m -Xverify:none -XX:+UseAdaptiveSizePolicy -XX:+PrintGCDetails -XX:MaxPermSize=160m -XX:+UseParallelGC -jar /usr/local/selenium/selenium-server.jar -log /var/log/selenium-server.log -browserSideLog &> /var/log/selenium-server.log &
Any idea how to limit memory aviable to selenium? Or how to dectect/fix memory leak