Mappoint and VB.NET: Horrible Memory Usage

mrobold
11-10-2003, 04:05 PM
We're in the middle of building a mapping application for a Police Dept. that allows us to track vehicles (via GPS), incidents, and 911 calls. This is a client-server application built in VB.NET (.NET Framework 1.1) with the Mappoint 2002 control embedded in the client form.

When the client form loads, the control's process (Mappoint.exe) is runs at an acceptable (albeit rather high) level of memory usage, but once the data-points arrive over a socket, the memory usage spikes to levels quite often in excess of 100 MB.

Typically, this is mappoint placing between 25 and 35 pushpins on the screen with various icons and myriad data associated with each pushpin (unit ID, Incident Number, etc).

Is there a way to tune Mappoint's memory usage?

MR

Cubistix
11-12-2003, 01:41 PM
Hey,

The Memory thing is a joke with MP 2002 and 2004. It will always be around 100Meg - 150 Meg if you are doing a lot of processing.

One way to lower it is to save your map... close it ... then reopen it..

-Mark

mrobold
11-12-2003, 05:16 PM
Thanks for the reply...that's the conclusion I was reaching.

Looks like it's mostly paged memory...so it's a problem with which we can deal.

MR

 
Web mp2kmag.com
mapforums.com