Community of VE/MapPoint Users and Developers
This is a discussion on Releasing Memory when finished with mapoint via .net within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have an .NET application which starts mappoint puts somes pins on a map and then shows the mapoint application ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Releasing Memory when finished with mapoint via .net any replies to rich_crittenden@hotmail.com please. in anticipation thanks. |
| |||
|
Do you call the .Select() method on the pushpin object? If yes, try this : It's seems to release the COM object. Dominic Morin, MCP dominic.morin@optimarketing.com Code: MapPoint.Pushpin pin = null; ... Utilities.NAR(pin); pin = null; Code: public class Utilities
{
public static void NAR(object o)
{
try
{
Marshal.ReleaseComObject(o);
}
catch
{
}
finally
{
o = null;
}
}
}
|
![]() |
| Tags |
| finished, mapoint, memory, net, releasing |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to calculate de starting and finished point on a route | hidroela | MapPoint 2006/2009 Discussion | 5 | 02-06-2005 05:30 PM |
| Memory leaks in MapPoint | rbarthels | MapPoint 2006/2009 Discussion | 2 | 01-27-2004 05:53 PM |
| Mappoint and VB.NET: Horrible Memory Usage | mrobold | MapPoint 2006/2009 Discussion | 2 | 11-12-2003 06:16 PM |
| memory leak with objloc.goto? | mzupan | MapPoint 2006/2009 Discussion | 1 | 08-02-2003 01:14 AM |
| Huge memory leak in using QueryShape? | random0000 | MapPoint 2006/2009 Discussion | 2 | 03-28-2003 06:22 AM |