Hi I've found that each time I call
sf.Labels.Generate("[CITY_NAME]", MapWinGIS.tkLabelPositioning.lpFirstSegment, True)
or similar the Private bytes used goes up. sf.labels.clear does not reduce this. For 2000 labels I see an increase of around 5Mb. Clearly after a short period of changing labels and regenerating them I run out of memory. Is there a way to generate just the one label I change at a time?
Comments: Closed for v 4.9.3, since was extensively tested without any leaks being found.
sf.Labels.Generate("[CITY_NAME]", MapWinGIS.tkLabelPositioning.lpFirstSegment, True)
or similar the Private bytes used goes up. sf.labels.clear does not reduce this. For 2000 labels I see an increase of around 5Mb. Clearly after a short period of changing labels and regenerating them I run out of memory. Is there a way to generate just the one label I change at a time?
Comments: Closed for v 4.9.3, since was extensively tested without any leaks being found.