Runtime Engine fill up disk space

Every time when RE run test, it generates new folder to default workspace folder location, in my case folder is:
C:\Katalon_Studio\Katalon_Studio\config\session-xxxxxxxx
I run my tests in Jenkins and after runninq awhile tests those session-xxxxxxx folders and files fill up my disk space (each about 20MB).

In logfile every run:
Katalon workspace folder is set to default location: C:\Katalon_Studio\Katalon_Studio\config\session-d25090f0

Katalon Version: 7.0.10

Is there any way to automatic clean those folders? Or is manual delete only way (not should be, this is automation test program I think).

i don’t think ‘fill up’ is the right term here unless you run this tasks on an 286 generation machine.
but indeed, it is anoying, in time can lead to undetected resources waste.
my bets at this moment is … there is no such mechanism in place for cleanup on katalon.
the easiest way in jenkins to prevent poluting is to set the job to always clean the workspace at the end (it’s just a checkmark)

usualy, resource cleanup has to be handled by the pipeline, not by the application running … but agreed, worth to take a deeper look, there are always edge cases.

1 Like

@Ilkka_Kovalainen One way is to turn off any report generation from the basic report plugin. For e.g Create a separate branch for Jenkins with report generation turned off and then connect that branch within the Jenkins job. This way your master and other branches when run will generate report. Also check if you have Test case video recording activated in settings ? Turning that off might also help.

If you are using Katalon Analytics this will not effect the publishing of reports there. Turning off report generation on your machine will stop creating local files but will still upload results to Katalon Analytics so you can see the results over there.

@duyluong Please take a look.

Well >100 test run/day * 5 day * 20MB = 10000MB = 10GB (calculating right?). + some other tests.
And tests are running in sandbox with limited disk quota. Not 286, not even 386 or 486 :wink:

Cloud reporting is not an option right now.
I have put -reportFolder parameter point to jenkins workspace. But I think there is no any workspace parameter available?

We will address this issue soon. Thank you @Ilkka_Kovalainen for the feedback.

1 Like

Hi @Ilkka_Kovalainen,

You can manually delete the session-xxxxxxxx folder before or after every execution to free your disk space. We will consider to provide an ability to clean up these folders in the upcoming release.

Sorry for this inconvenience.

1 Like

Hello, has this been addressed? We’re facing the same issue.

Are you ever gonna fix this issue?
In 7.4.0 RE the folder where these session-xxxx folder are made has changed to c:\Users\userxxxxx\AppData\Local\Temp. And same filling is going on and + lot of screenshotxxxx.png files.