Forum Discussion
We suspect the memory leak is also coming from the intellisence feature of TestComplete.
if the leak happens during script development :
@ Turn this off and you will notice a slight reduction in the leak.
@ During development, manually create an error and have the script debugger show that error. Continue writing yourcode.
memory leak should be reduced as well.
if the leak happens during execution :
@ Update to the latest 11.31. At least for python, execution memory leak has been significantly reduced. Not removed, but
reduced.
Other tips:
1. minimize logging to 10 log files
2. Run from Project items instead from the IDE
Thank You for the info. Trying 11.31 would be nice, but my maintenance expired, so I have to stick to 11.20 :-(
I load up two Memory usage diagrams. Both reflect the same test, the first after starting the System and TC, the second is for re-running the test with TC open.
Memory usage only knows one way: up.
There is one more curiosity occurring during "Long" test runs (> 1h):
Sometimes the Access to the Control's SystemMenu property seems to be lost, Control.SystemMenu does no more get me a valid object. Maybe this is related somehow to loosing Memory?