Skip to Content

Welcome to theĀ 

Sahi Pro Customer Portal

Access your tickets, forums, courses and more, all in one single place

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
312 Views

I am facing issue while executing multiple automation test suites in Sahi, the Dashboard crashes due to a memory-related issue. How to resolve this problem?

Avatar
Discard

Hi Stella,

This issue is causing because of java heap size. so you can follow the below steps to resolve it.

1. Take a backup of <Sahi>\bin\dashboard.bat from where you are triggering the test. You can apply this change in all of your instances too. Please NOTE that this is dashboard.bat and NOT start_dashboard.bat.
2. Edit <Sahi>\bin\dashboard.bat.

Modify the following line

java -Djsse.enableSNIExtension=false -Djava.util.logging.config.file=%SAHI_USERDATA_DIR_TMP%\config\log.properties -classpath SAHI_EXT_CLASS_PATH;%SAHI_CLASS_PATH% net.sf.sahi.ui.Dashboard "%SAHI_HOME%" "%SAHI_USERDATA_DIR_TMP%"
to
java -Xms128m -Xmx1024m -Djsse.enableSNIExtension=false -Djava.util.logging.config.file=%SAHI_USERDATA_DIR_TMP%\config\log.properties -classpath SAHI_EXT_CLASS_PATH;%SAHI_CLASS_PATH% net.sf.sahi.ui.Dashboard "%SAHI_HOME%" "%SAHI_USERDATA_DIR_TMP%"

Save the changes, restart Sahi and check.

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 26
330
1
Mar 26
364
1
Mar 26
437
1
Feb 26
392
1
Mar 26
392