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 problem

This is a discussion on Memory problem within the Development forums, part of the MapPoint Desktop Discussion category; Hi, I've found few thread about this problem but did not found solutions. I'm using Mappoint 2009 with Visula Basic ...

  1. #1
    lacja is offline Member Yellow Belt
    Join Date
    Aug 2006
    Posts
    47

    Memory problem

    Hi,

    I've found few thread about this problem but did not found solutions.

    I'm using Mappoint 2009 with Visula Basic 6.

    My application displays near 100 vehicle movment.

    After few hours, I got a memory problem.

    With the task manager, I can see that memory usage increase and never decrease, even if I tried the minimize/maximize theory.

    My map objects are all created with the SET command and at the end of each routine, I use a SET...=NOTHING for each of them.

    Any other idea?

    Thanks

  2. #2
    Winwaed's Avatar
    Winwaed is offline Mapping-Tools.com Black Belt
    Join Date
    Feb 2004
    Location
    Irving,Texas
    Posts
    1,859
    Blog Entries
    60

    Re: Memory problem

    The minimize/maximize must be done through the GUI or using windows messages. Using the MapPoint API's window state property does not work.

    The alternative is probably to restart MapPoint, or to re-arrange how your code works.

    For example are you moving pushpins around? If you make sure you move them and you don't delete/create them. That sort of thing. Try to avoid object creation & deletion if possible. If you do delete them - make sure you do a clean job of it (eg. the setting to nothing )


    Richard
    Winwaed Software Technology LLC
    http://www.winwaed.com
    See http://www.mapping-tools.com for MapPoint Tools

  3. #3
    Eric Frost's Avatar
    Eric Frost is offline Administrator Black Belt
    Join Date
    Jul 1992
    Posts
    5,094
    Blog Entries
    4

    Re: Memory problem

    Richard Marsden was telling me about this issue recently, I think the solution was to minimize the application and then pop it back up. Somehow that performs the memory management tasks. Let us know if this helps!

    Eric
    ~ Order MapPoint MapPoint 2013 Here and Get Free Access to the MapForums Downloads ~
    ~~
    ~ Upgrade to Get Access to the MapForums Downloads ~

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. Need Help with memory managment.
    By PMACAFEE in forum MapPoint Desktop Discussion
    Replies: 7
    Last Post: 12-01-2006, 11:58 AM
  3. Add-in / MP2006 Memory Clash?
    By Winwaed in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 11-27-2006, 06:00 PM
  4. Memory leaks in MapPoint
    By rbarthels in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 01-27-2004, 05:53 PM
  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 60 61 62 63 64 65 66 67