18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Memory leak with Safari
Hi
I got memory leak (it eats >2GB) when I try to use Safari under Sahi. I got this:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:279)
at net.sf.sahi.session.Session$1.run(Session.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:279)
at net.sf.sahi.session.Session$1.run(Session.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:279)
at net.sf.sahi.session.Session$1.run(Session.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
java.util.ConcurrentModificationException
In userdata.properties I set up:
ext.http.proxy.host=localhost
ext.http.proxy.port=9999
Because without this:
Safari can’t find the server.
Safari can’t open the page “http://sahi.example.com/_s_/dyn/Driver_initialized?” because it can’t find the server “sahi.example.com”.
I got memory leak (it eats >2GB) when I try to use Safari under Sahi. I got this:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:279)
at net.sf.sahi.session.Session$1.run(Session.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:279)
at net.sf.sahi.session.Session$1.run(Session.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$ValueIterator.next(Unknown Source)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:279)
at net.sf.sahi.session.Session$1.run(Session.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
java.util.ConcurrentModificationException
In userdata.properties I set up:
ext.http.proxy.host=localhost
ext.http.proxy.port=9999
Because without this:
Safari can’t find the server.
Safari can’t open the page “http://sahi.example.com/_s_/dyn/Driver_initialized?” because it can’t find the server “sahi.example.com”.