TestComplete 11 - memory leak (?)
Friends :
This issue is with TestComplete11-python
I noticed that on my machine, the testcomplete memory does not get freed up after execution. In our org, we have a UI automation framework written in python. It uses OOP, classes and all that other good stuff. The framework itself is about 5 libraries with roughly 400-1500 lines of code in each file and about 5-10 classes each as well. The testers will basically import these libraries into their script units and call these ui functions.
I do notice that after a run, TestComplete's process memory size is at least 30MB larger than from the start. Eventually it bombed out at 3.5GB, So when I load TestComplete and a project suite, it starts out at 150MB. Run 1 ends with 180MB roughly, Run 2 starts with 180MB and ends with roughly 205MB. Run 3 starts with 205MB and ends with roughly 240MB, and so on and so forth.
Does anyone have any clues on this issue? Suppressing the logs, removing unnecessary extensions etc. doesn't seem to help. Is garbarge collection being handled correctly? Native python handles GC automatically, however, in TestComplete do I have to explicitly call a destructor? Or, are the import statements being too expensive to load?