Experiencing Frozen Katalon Studio Sessions

Katalon et al,

Windows 7, 64bit
Katalon Studio; Version: 5.9.1; Build: 2
Chrome; Version 71.0.3578.98 (Official Build) (64-bit)

I will be working with Katalon Studio for a few hours when suddenly it freezes. The only recourse I have is to use Windows Task Manager to kill katalon.exe. It’s happening on a regular basis… So much so that I have created a batch file to deal with the issue.

Please find attached my Katalon log files for the past few days.

Thanks,
Dave
Katalon_Log_Files.zip (96.7 KB)

In the .log file I found repetitive Stack Trace:

!ENTRY org.eclipse.ui 4 0 2018-12-14 09:45:17.915
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTError: No more handles
	at org.eclipse.swt.SWT.error(SWT.java:4559)
	at org.eclipse.swt.SWT.error(SWT.java:4448)
	at org.eclipse.swt.SWT.error(SWT.java:4419)
	at org.eclipse.swt.widgets.Widget.error(Widget.java:482)
	at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:1757)
	at org.eclipse.swt.graphics.GC.<init>(GC.java:168)
	at org.eclipse.swt.graphics.GC.<init>(GC.java:132)
...

Possibly your Katalon Studio is running out of memory.

Similar to:
https://developer.ibm.com/answers/questions/378241/what-is-the-cause-of-the-orgeclipseswtswterror-no/

you can easily edit the eclipse.ini file to add more. To do this, open your eclipse.ini file and edit “-Xmx512m” to a larger number like “-Xmx1024m”.

Please note that, in Katalon Studio, the eclipse.ini file is renamed to katalon.ini.

I checked my katalon.ini on Mac now. It looks like:

-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.401.v20161122-1740
-data
config
-vm
../../Contents/Eclipse/jre/Contents/Home/jre/lib/jli/libjli.dylib
-vmargs
-Xms256m
-Xmx4048m
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts

Why not changing: -Xms4048m-Xms8192m

1 Like

Thanks kazurayam,

I will check into my memory settings on Monday and post my results back here after a few days. Hope you have a great weekend.

Cheers,
Dave

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.