Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

Memory leaks in MapPoint

This is a discussion on Memory leaks in MapPoint within the MapPoint Desktop 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 ...

  1. #1
    rbarthels is offline 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

  2. #2
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137

    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.

  3. #3
    Anonymous is offline Senior Member Black Belt
    Join Date
    Jul 2002
    Posts
    5,137
    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...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Memory leak - Bulk calculates
    By bigderek in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 10-08-2008, 07:50 AM
  2. Releasing Memory when finished with mapoint via .net
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-11-2003, 03:02 PM
  3. Mappoint and VB.NET: Horrible Memory Usage
    By mrobold in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 11-12-2003, 06:16 PM
  4. memory leak with objloc.goto?
    By mzupan in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 08-02-2003, 01:14 AM
  5. Huge memory leak in using QueryShape?
    By random0000 in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 03-28-2003, 06:22 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59