In the example outlined here:
The following call to obtain the ConfigurationName does not free up memory after it is finished. This becomes a problem when there are a considerable amount of components to iterate through.
Debug.Print("Component Configuration Name: " + swComp.ConfigurationName);
To be more precise, iterating through approximately 1000 components to obtain their configuration names uses up approximately 100MB of memory, which never gets freed. If I comment this line out, the memory issue goes away.
Is there anyway to free up the memory used by this ConfigurationName call? Or any other way to get the configuration name of a component in the context outlined in this help document?
Thanks,
Matt
