1. Always update Katalon Studio to the latest version.
Starting in v6.3.0 and the later version, Katalon team will carefully focus on Katalon Studio UI, UX and performance. Especially in v6.3.0, Katalon Studio has improved the issue when working with multiple variables in Test Case, Global Variable. If your project has many variables to work with, Katalon Studio v6.3.x is the version you need.
2. Edit katalon.ini file
Open katalon.ini then add these JVM options:
These options will help Java Garbage Collector manages the unused objects better and reduce JVM heap size.
We tested on a Windows 10 PC, worked on our JIRA sample project for an hour with multiple test cases, open some larges test data, run sequential many test suites and test suite collections and observe the memory of Katalon Studio.
The memory consumption is about 600MB at the start, increases to 800-1200-2000 MB when scripting, recording and running tests.
The memory consumption is about 400MB at the start, increase to 600-800 MB when scripting, recording and running tests.
3. Clear the terminated executions frequently
If you have a long working day with Katalon Studio, the Job Progress may be filled up with many execution histories that also makes Katalon Studio takes more memory than usual. The advice here is pressing the recycle bin button to clear all terminated execution history.
This topic may help you work better with Katalon Studio but this is not that all. Katalon team is still working and spending our effort to bring many improvements to Katalon Studio via our coming releases.
If you are interesting with this topic, we recommend you share your heap dump profile, some screenshots of Katalon Studio memory consumptions, we will investigate your cases.
Thanks and Regard,