Quantcast
Channel: MapWinGIS ActiveX Map and GIS Component
Viewing all articles
Browse latest Browse all 2341

Commented Unassigned: Memory leak adding Labels [24785]

$
0
0
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: ** Comment from web user: heste015 **

I'm trying to reproduce this and having a hard time. Can you provide the shapefile (and label file if applicable)?


Viewing all articles
Browse latest Browse all 2341

Trending Articles