Community of VE/MapPoint Users and Developers
This is a discussion on Memory leaks in MapPoint within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi everybody, I made an application which automates MapPoint. Here I made permanent distance calculations between two locations. When I ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Memory leaks in MapPoint I made an application which automates MapPoint. Here I made permanent distance calculations between two locations. When I have a look in the taskmanager MapPoint starts with 40MB and ends after one day with 250MB and then crashes (I guess because of memory problems). Is it right that MapPoint never releases memory for distance calculation ? Has anyone similar experiences ? Regards Rainer |
| |||
| Re: Memory Leaks
I had that same problem a few days ago. You need to release the application object to the garbage collection. Try myApp.Quit(). This function will cause the "Save Map" dialog to appear as soon as the map is loaded. The way that I got around this was by using the actual MapPoint Control. |
| |||
|
I had similar experience with MapPoint 2002 when doing distance calculations in bulk. In fact, my PC will just stop after all the memory gets used up by the application. I ended up writing another application that executes it and controls the memory usage. As it sees the system running out of memory, it kills the process and starts it over again. Map Point 2004 does not seem to have this problem anymore... |
![]() |
| Tags |
| leaks, mappoint, memory |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory leak - Bulk calculates | bigderek | MapPoint 2006/2009 Discussion | 7 | 10-08-2008 07:50 AM |
| Releasing Memory when finished with mapoint via .net | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-11-2003 03:02 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 |