MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Memory leaks in MapPoint

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-23-2004
Member
Green Belt
 
Join Date: Nov 2002
Posts: 52
Memory leaks in MapPoint

Hi everybody,

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 01-26-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 01-27-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
leaks, mappoint, memory


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 05:44 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54