Forum Discussion

Vec84's avatar
Vec84
Contributor
8 years ago
Solved

Namemapping Limit ?

Is there a limit to the size of the namemapping file as we are now encountering problems loading the project in our VM. The project in whole is about 400mb in size but when opening the project on the ...
  • Bobik's avatar
    8 years ago

    Try set 'Store all Code Completion data' option to other state. It will reduce NameMapping file size.

    The option is located in NameMapping editor.

  • dbattaglia's avatar
    dbattaglia
    8 years ago

    Vec84 if you are asking about changing the setting that Bobik mentioned, no this will not impact your actual object map.

     

    The 'store code completion information' setting controls what property and method data is stored with each mapped object.

     

    here is a link to the support article detailing this setting: http://support.smartbear.com/testcomplete/docs/testing-with/object-identification/name-mapping/editor/toolbar.html

     

    my team had a similar issue a couple years back--it began to take longer and longer to open our main project.

    we discovered that it was due to the fact that we had this option set to 'store full code completion data' which caused our namemap file to grow to over 2GB in size.

    after changing the setting to 'do not store code completion data' the file size shrunk to ~3MB.

     

    storing the code completion data would be useful in cases where you may not have access to the application under test at all times, and so then you would want to store all the object information you can while you do have access to it--so that later when it is not available you can still do work on your tests.

     

    hope this helps.

     

    daniel