# Katalon closing abruptly

**URL:** <https://forum.katalon.com/t/katalon-closing-abruptly/179317>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [July 29, 2025, 4:42am UTC](https://forum.katalon.com/t/katalon-closing-abruptly/179317 "2025-07-29T04:42:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathivishal19](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/rathivishal19/32/30227_2.png) [@rathivishal19](https://forum.katalon.com/u/rathivishal19)\
**Post date:** [July 29, 2025, 4:42am UTC](https://forum.katalon.com/t/katalon-closing-abruptly/179317/1 "2025-07-29T04:42:14Z")

</div>

Hi Team,

I am using katalon studio free edition from quite a few days and Katalon is getting closed abruptly.

I tried reinstalling latest version but that didn’t helped. I restarted katalon studio several times properly, i restarted my MAC several times but still its getting clsoed. My mac OS sequoia is 15.5 which is also on latest version but still its getting closed abruptly. Due to this sometimes my work is getting unsaved before i save it, and have to do re-work again.

Due to this issue, i have to click on save button after each action on katalon studio, which is really frustrating.

Let me know if i can share more details here.

Looking for a permanent solution please help.

Attaching the screen shot here.

 ![Screenshot 2025-07-28 at 5.10.41 PM](https://europe1.discourse-cdn.com/katalon/original/3X/5/d/5dc689b613b1177136492655415cfc4066b60556.png)

---

<div class="post-metadata">

**Author:** ![dineshh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dineshh/32/24488_2.png) [@dineshh](https://forum.katalon.com/u/dineshh)\
**Post date:** [July 29, 2025, 7:32am UTC](https://forum.katalon.com/t/katalon-closing-abruptly/179317/2 "2025-07-29T07:32:28Z")

</div>

**Action Plan: Resolve Katalon Studio Mac Crashes**

**Step 1: System-Level Debugging**  
**A) macOS/Zulu/Java Compatibility**

1. **Check Installed Java** :

bash

```auto
# Terminal command to check Java version
/usr/bin/java -version

```

2.Expect output like `java version "17.0.5"` or specific versions. Katalon requires Java 8-17.\*  
3. **Install Zulu 17** (if missing Java):

bash

```auto
brew install zulu17

```

**B) Disk/CPU/Memory Check**

1. **Free Storage** :  
Use `macOS Storage > System Files` to ensure \> 15% free disk space.
2. **Activity Monitor** :  
Run Katalon → Open `Activity Monitor` → Check `Memory`/`CPU` spikes in `Katalon Studio` processes.

* * *

**Step 2: Clean Katalon Installation**

1. **Full Uninstall** :

bash

```auto
# Remove existing installation
rm -rf $HOME/Library/Application\ Support/Katalon
rm -rf $HOME/katalon
sudo rm -rf /Applications/Katalon\ Studio.app

```

1. **Reinstall**

- Download latest Free Edition: [https://katalon.com/premium-trial-signup](https://katalon.com/premium-trial-signup)
- **Deselect “Optional Java”** during install (if using Zulu/alternate Java).

* * *

**Step 3: Isolate the Crash Trigger**  
**A) Test Scenarios**

1. **Create Minimal Test Case** :

groovy

```auto
// Simple Test Case
class SimpleCase {
    def method1() {
        WebUI.openBrowser('https://example.com')
        WebUI.closeBrowser()
    }
}

```

1. **Run without Plugins** :  
Disable ALL browsers (Chrome, Firefox) → Run empty test suite.

**B) Log Analysis**

1. **Retrieve Error Logs** :

bash

```auto
# Find logs
tail -n 50 $HOME/Library/Application\ Support/Katalon/10.3.4/.metadata/.log

```

Look for patterns:

- `OutOfMemoryError` → Increase heap space
- `Port already in use: 50505` → Conflict in settings

1. **Heap Space Configuration** :  
Add to `~/.zshrc`:

bash

```auto
export CATALINA_OPTS="-Xms512m -Xmx1024m"

```

* * *

**Step 4: Advanced Solutions**

| Approach | Tools/Commands |
| --- | --- |
| **Alternative Browser** | Use Safari/Firefox instead of Chrome |
| **Memory-Safe Mode** | Run Katalon with reduced plugins: |

bash

```auto
/Applications/Katalon\ Studio.app/Contents/MacOS/Katalon --CleanLaunch

```

| **Custom JVM Args** | Edit `katalon.ini`:

text

```auto
-Xms512m
-Xmx1024m
-Xss2m

```

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [July 29, 2025, 9:17am UTC](https://forum.katalon.com/t/katalon-closing-abruptly/179317/3 "2025-07-29T09:17:42Z")

</div>

> [@rathivishal19](#):
>
> my MAC

Which type of CPU device do you have? Intel Core? or Apple M1/M2?

Katalon provides 2 types of .dmg file:

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/4/c/4c2f6ab8ebda4dff99d019c9e4d336744f03c982.png)

Which one did you install?
