ThinkGeo.com    |     Blog    |     Wiki    |     Support

ThinkGeo V12 GCCollectionMode

ThinkGeo Team,

Under MapSuite the following was valid:
TheWpfMap.GCCollectionMode = GCCollectionMode.Forced;

Are Garbage Collection settings available in V12?

Thanks,
Dennis

Hi Dennis,

In Version 12 we don’t have the GCCollectionMode now.

The first reason is v12 improve the performance than v10, so it don’t need the GCCollectionMode now.

The other reason is MicroSoft suggest user don’t manual call GC, it will affect the library stability, so we remove it by design.

If you found it’s needed to be used in certain scenario, please call GC in your code.

Regards,

Ethan

Thanks for the update Ethan.

Dennis

Hi Dennis,

Any question please let us know.

Regards,

Ethan