Page 1 of 1

Wait For causes thread usage to continually increase

Posted: Thu May 26, 2016 4:42 pm
by scott-gilchrist
I have noticed that when using the Wait For function in Ranorex studio 5.4.1 that the amount of threads being used in VisualVM would continually increase. This causes the application that is being tested by Ranorex to crash if the Wait For lasts long enough and the thread usage becomes high enough.

The issue was first noted when running scripts via a Jenkins CI server, but the issue persists when running the tests from Ranorex Studio.

I wrote a basic test application that will allow the user to enter a number and it waits that amount of seconds before a window appears with a simple "close" button. The threading issue appeared the exact same with this application.

I have attached screenshots of VisualVM showing the thread usage, as well as a thread dump from VisualVM. Issue has been noted in Windows7 and Windows8.1

Re: Wait For causes thread usage to continually increase

Posted: Fri May 27, 2016 2:49 pm
by odklizec
Hi,

Ranorex 5.4.1 is nearly one year old and no longer supported. Could you please try to reproduce the problem with latest 6.0 or previous 5.4.6? You see, there were introduced many changes and bug fixes sine 5.4.1 and there is always a chance the issue you found is already fixed.