Forum Discussion

ashishmallik's avatar
ashishmallik
New Contributor
15 years ago

Applicatio EXE size increases from MB to GB

Hi All,



I am facing a new challenge while automating Desktop application build in Builder C++.



Scenario



We have created a Framework in which we have brought object repository in excel. Now we read object and properties from excel and through .Find method we identify object on the application and verify if it exist and is enabled or not. In My flow there are 250 object on which we have to verify the same.

Note: Initially  Memory size occupied by application exe is 70732KB



Now when we execute our Flow it goes to 1891312KB roughly 1.8 GB. Due to this we get error message as"Out of memory while expanding memory stream".



If any one has solution to this problem please let me know as our flows delivery date is very close. Thanks in Advance.

7 Replies

  • Hi,


    The problem can occur if the Depth parameter value of the Find method you set is too high. TestComplete starts searching for objects in the specified number of levels and consumes more and more memory.


    To avoid this, try specifying a lesser value for the Depth parameter.

  • Hi Margaret,



    Thanks for your reply.In this method we are not specifying any depth value. So how it will increase the size of application, if at all it is storing value in memory then size of test complete should increase.
  • Hi Ashish,


    When TestComplete starts working with your application, it loads special modules to the application. So, the amount of memory consumed by the application grows.


    To solve the problem, try disabling unused plug-ins in TestComplete and leave only the plug-ins needed for your application's testing enabled. For this purpose, use the Extensions dialog.

  • Hi Margaret,



    We tried this option of DE-linking unused plugins but it didn't solved our problem.Thanks for constant help.


  • Hi,


    To help us find a solution to your problem, could you please send us your project and the application under test?

  • Hi,



    We can send the project but sending application will be difficult.If You say we can show you on team viewer.I will be really thankful if you spare your some time on this. Thanks again for your prompt support.