I'm just playing around with Raonorex 5.3.2 to find out if it could be used for doing my long term Android testing with it. I'm using it on win 8.1 together with VmWare Workstation and Android-x86.
Got it running fine so far - excellent tool by the way! Good job, guys!!!
One thing keeping me from deciding for it is that there seems to be a memory leak in (re-)starting the app using RunMobileApp. I used ANTS Memory Profiler and can see each time I start and restart the app using RunMobileApp it consumes additionally round about 250k of memory. Also using KillProcess in between two starts does not help. If I'm not wrong the leakage is in Ranorex.Plugin.Mobile.Device.Channels.TcpNetworkChannel - but please cross check.
The Problem with this is, that I need to do long lasting, reapeating tests having multiple virtual devices on one host. To have unique starting conditions I need to restart the app every few minutes between each test multiplied by the amount of virtual machines. That causes a "out of memory" after some time.
Could you please be so kind telling me,
1. if I'm right that this is a bug?
2. if so if you could please solve it as soon as possible?
3. if meanwhile you could help me out with a work around for it if there is any?
Reproducing the issue is easy. Just use any instrumented Android app you want, start it several times using RunMobileApp. As toled above you may also use KillProcess in between. Use any tool you preferre to see the memory leak caused by it.
Thanks a lot and kind regards,
Hardy
P.S.: There seems to be another memory leak in Ranorex.Imaging.Find which is not releasing all ressources in your byte buffer (CoreChannel._bufferPool) when finished. Interesting is, that there seems to be no leak as long as both compared bitmaps are identical... I would like to use this function very often so this issue is even worse than the above one

P.P.S.: ...same applies for Validate.ContainsImage - I guess it's using the same methods... e.g. doing 4 validations like that adding 26 MB to the unmanaged memory consumption of Ranorex internal buffers...

Is anyone able to tell me, please, how to get rid of this again? is there any chance to tell Ranorex to clean up these internally allocated, unmanaged ressources?
PLEASE, HELP!!!