# HTML reports taking hours to generate because Katalon takes automatic screenshots

**URL:** <https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936>\
**Category:** Web Testing\
**Tags:** web-testing, katalon-studio\
**Created:** [May 21, 2019, 10:30pm UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936 "2019-05-21T22:30:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rakesh\_Kumar](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@Rakesh\_Kumar](https://forum.katalon.com/u/Rakesh_Kumar)\
**Post date:** [May 21, 2019, 10:30pm UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936/1 "2019-05-21T22:30:08Z")

</div>

I am automating 10 iterations of some long flows. But the HTML report is taking around 3-4 hours to generate because whenever I use verifyElementPresent, verifyElementClickable, verifyElementVisible, Katalon is taking automatic screenshots which is making the html files huge.

Is there a way that we can turn off this feature of Katalon.

---

<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:** [May 21, 2019, 11:19pm UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936/2 "2019-05-21T23:19:01Z")

</div>

Choose Project \> Settings \> Report  
There you will find “Take screenshot when execution failed” option. Toggle it off.

 ![12](https://europe1.discourse-cdn.com/katalon/original/2X/4/4208d0ee4e5b9c3e87399e58ebdccea4c158dcde.png)

---

<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:** [May 21, 2019, 11:27pm UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936/3 "2019-05-21T23:27:16Z")

</div>

> the HTML report is taking around 3-4 hours …

Your test suite is possibly big and requires large memory to run. Try allocating larger memory for Katalon Studio. Then your test suite will get faster.

See the following post for background information.

> [@Katalon Studio, memory issue adding variables for data driven testing](http://forum.katalon.com/t/katalon-studio-memory-issue-adding-variables-for-data-driven-testing/13822/3):
>
> On my Mac, I have Katalon Studion 5.7.1. I have the katalon.ini file at /Applications/Katalon Studio.app/Contents/Eclipse/katalon.ini In the os console, I checked the katalon.ini file where you can find the runtime configuration for Eclipse = Katalong Studio. The following shows mine. :Eclipse$ pwd /Applications/Katalon Studio.app/Contents/Eclipse :Eclipse$ ls artifacts.xml features katalon.ini plugins configuration jre p2 :Eclipse$ cat katalon.ini -startup ../Eclipse/plugins/org.eclipse.equ…

Possiblly you have this default value in katalon.ini

```auto
-Xmx2048m

```

You can change this to `-Xmx4096m` or `-Xmx8192m` or even lager depending how large physical memory your PC has.

---

<div class="post-metadata">

**Author:** ![Rakesh\_Kumar](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@Rakesh\_Kumar](https://forum.katalon.com/u/Rakesh_Kumar)\
**Post date:** [August 16, 2019, 4:18pm UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936/4 "2019-08-16T16:18:41Z")

</div>

Yes, it worked. Thank you.

---

<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:** [August 16, 2019, 5:01pm UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936/5 "2019-08-16T17:01:55Z")

</div>

The following post may help you as well to reduce to memory consumption:

[http://forum.katalon.com/t/tip-some-tips-to-work-smoother-and-reduce-katalon-studio-memory-consumption/31646](http://forum.katalon.com/t/tip-some-tips-to-work-smoother-and-reduce-katalon-studio-memory-consumption/31646)

---

<div class="post-metadata">

**Author:** ![albert.vu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/albert.vu/32/20595_2.png) [@albert.vu](https://forum.katalon.com/u/albert.vu)\
**Post date:** [August 8, 2022, 7:40am UTC](https://forum.katalon.com/t/html-reports-taking-hours-to-generate-because-katalon-takes-automatic-screenshots/25936/6 "2022-08-08T07:40:13Z")

</div>

Archived on August 8, 2022, 7:40am UTC


