Forum Discussion
We are also experiencing this issue in TC 11. We have the "Do not store Code Completion data" active but our file size is still 400MB and has a difficult time loading on our test machines. Here are our errors when opening, "Out of Memory" and "Catastrophic Failure":
Also, the link you gave is broken.
How are you guys mapping?
Are you using the automatic/capture everything method? (Which creates a name map and alias map - which are identical) for everything? It's a very wasteful way of mapping objects.
I've just checked the name map (manual mapping and Alias creation) for the Delphi application I'm working on and it's 566kb.
A couple of web applications come in at 785kb and 400kb.
My code complete setting is "Store brief Code Completion data". I'm still using TC 10.6.
- randy_19 years agoNew Contributor
We are using templates to capture only the unique properties of objects we are adding to the map. After looking into our name map a little bit deeper, we found that the line below had been added to our name map ~2.5 million times. Deleting these lines reduced the name map to around 3,000 KB, which is much more manageable. I believe that there might be a bug in how TestComplete handles the name map in the repository.
- Colin_McCrae9 years agoCommunity Hero
"we found that the line below had been added to our name map ~2.5 million times"
Wow!
That sounds like a bug to me!
:smileysurprised:
- AlexanderM9 years agoStaff
Guys, here is a possible workaround:
- Switch the "Store Code Completion information" option in your Name Mapping file to "Brief";
- Save changes;
- Switch it to "Do not store";
- Save changes.
This will remove the extra information and the file will become much smaller. Our Devs are trying to reproduce this situation to create a patch. So, if somebody knows how to reproduce it, please respond to this thread or open a case with Support and mention this thread.
Thanks!
Related Content
- 3 years agoCata
- 7 years agodemosoapuser
- 6 years agossteinhorst
- 2 years agoemexpium
Recent Discussions
- 12 hours agoashly