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.
java.lang.OutOfMemoryError: Java heap space
I have a big probelm with a .suite File. the .suite File contains about 15 scripts but at the 10th scripts, sahi does nothing and than at the 11th , 12th .... i get java.lang.OutOfMemoryError: Java heap space.
But something i dont understand is, when i take a look in the log file for the 10th script there are not steps performed by sahi and the log file only contains :
starting script
stoping script
. i really dont know what the problem is, i runned the .suite file may be 50 times and it is the same, the same error hapening at the same point.
can anyone please tell me what i should do to solve this problem? thx
im using sahi V3.5 on Mac.
But something i dont understand is, when i take a look in the log file for the 10th script there are not steps performed by sahi and the log file only contains :
starting script
stoping script
. i really dont know what the problem is, i runned the .suite file may be 50 times and it is the same, the same error hapening at the same point.
can anyone please tell me what i should do to solve this problem? thx
im using sahi V3.5 on Mac.
This discussion has been closed.
Comments
Can you run 10th script alone from the controller and check if you are getting any error on Sahi console? If so then kinldy post the contents of Sahi console.
Also, have a look at the below URLs:
http://sahi.co.in/forums/viewtopic.php?id=2184
http://sahi.co.in/forums/viewtopic.php?id=2547
Let me know if this solves your issue.
Regards
Sumitra
thx for your reply, but i already solved my problem. i did this :
Open sahi/bin/dashboard.bat
Search for
java -classpath
replace it with
java -Xmx512m -classpath
and every things work well now.
Regards
Stev