Test Runner crashes with System.OutOfMemoryException using the Chrome without the extension

2 Answers 141 Views
Test Execution
Gadi
Top achievements
Rank 1
Gadi asked on 11 Aug 2022, 10:49 AM
Hi,
I use Telerik Test Studio Version 2022.1.601.0 now and I have a problem with the running tests on Chrome not using the extension.
Part of test lists does not finish because of the Test Runner crashes. In the log I see an error: "Unexpected Exception: System.OutOfMemoryException", before the crash the Test Runner uses more then 3 GB of memory.
These test lists are connected to tests of filter menu. I ran tests on part of test data and check the used memory during the test. I have following situation:
(x-axis - checks, y-axis - MB)
Columns E, F and G - parameter "UseBrowserExtention" of the test list is TRUE;
Columns J, K and L - parameter "UseBrowserExtention" of the test list is FALSE;


I have reproduced the problem uses demo on https://demos.telerik.com/kendo-ui/grid/filter-menu-customization.  I created the simple test by recording - just Toggle the filter menu and click Cancel a lot of times.


And I have the following situation with the memory:
(x-axis - checks, y-axis - MB)
Column O - parameter "UseBrowserExtention" of the test list is TRUE;
Column T - parameter "UseBrowserExtention" of the test list is FALSE;


I attach the test project.
This problem is critical for us. Can you help?

2 Answers, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 12 Aug 2022, 08:17 AM

Hello Gadi,

Thank you for sharing details and sample project that reproduces the encountered issue. We started investigating it on our end and we noticed that every time the dropdown is expanded, it adds new elements to the DOM tree. As a result, the DOM tree increases in size and takes up more memory. 

However, the DOM tree does not increase in size with the browser extension, because it reuses the same elements of the dropdown. This seems to be specific for some applications and controls.

We will continue to investigate and I will get back to you in this thread early next week with an update no matter what we have found out.

Thank you for starting this discussion!

Regards,
Plamen Mitrev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
0
Plamen Mitrev
Telerik team
answered on 16 Aug 2022, 07:47 AM

Hello Gadi,

Our team found what is causing the increasing memory usage and it turns out it is specific to this control and how it loads elements in the DOM tree. Basically, every time you expand the filter, this adds new elements to the DOM tree and in the case of the extensionless browser, it does not reuse those elements. As a result, the DOM tree gets larger and larger over time.

As I mentioned, this issue is specific to this control and we have already fixed it. You can get the fix through the Browser Support Update and restart Test Studio to apply it. Try the fix with your original test lists and the sample test and let me know if you continue to experience any troubles.

Have a great day ahead!

Regards,
Plamen Mitrev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Gadi
Top achievements
Rank 1
commented on 16 Aug 2022, 10:09 AM

Thanks for your quick reply.

I have no update available in Browser Support Update.

But I have an update of Test Studio:

Now I have 2022.1.601.0 installed. Should I update it?

Plamen Mitrev
Telerik team
commented on 16 Aug 2022, 10:53 AM

Sorry for not specifying that you need to be on the latest version of Test Studio to get the latest Browser Support Update. Please update Test Studio to 2022.2.804 and then add the Browser Support Update. You will need to restart Test Studio after that, so the fix can be applied.

Let me know if that solved the issue with your original test lists.

Gadi
Top achievements
Rank 1
commented on 24 Aug 2022, 09:27 AM

Hi,
The issue with my original test lists is solved, thank you.
Plamen Mitrev
Telerik team
commented on 24 Aug 2022, 09:47 AM

I am happy to know that the issue is resolved and your test lists are running. Thank you for your feedback! 
Tags
Test Execution
Asked by
Gadi
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or