Forum Discussion
Hi Serge,
> The box has 6GB of RAM; I think that's pretty sufficient...no?
If there is a memory leak then any amount of RAM can be successfully consumed after some time... :)
According to your description of the problem, Report Generator tool may be a way to go.
However, you may also consider AQtime tool (http://smartbear.com/product/aqtime-pro/overview/) that can detect memory leaks, request its trial and try it first. If you are lucky and the memory leak exists, than there is a chance that you will find it quickly without a lot of additional efforts.
If AQtime cannot help you, than you may try Report Generator. Maybe you will need to start two instances of it, one than will monitor TestComplete and another one that will monitor your tested application.
As you are saying that the problem is not easily reprodusible... It is my guess that the "Cannot load..." window is a modal one and thus is detected by TestComplete as the unexpected window. So you may create a handler for the OnUnexpectedWindow event and check within it if this "Cannot load..." window is displayed. If it is, you can pause test execution (e.g. by opening a simple MsgBox window that will pause the test until closed) and proceed with Report Generator to create memory dumps.
Hi Alex,
Yes, the "Cannot Load..." object, or window, is an Unexpected Exception window. I will try with your suggestion to use the OnUnexpectedWindow event handler approach. I may not be able to get to this right away, as other higher priority tasks have come to life, but as soon as I get a chance, I will try it and will let you know.
Thanks a lot!
Serge.
Related Content
- 8 years agoMulgraveTester
- 8 years agoast
- 10 years agoBalamuruganRavi
Recent Discussions
- 3 days agovladd1