View Single Post

  #1 (permalink)  
Old 11-22-2004
daxydoggie daxydoggie is offline
Junior Member
Yellow Belt
 
Join Date: Aug 2003
Posts: 12
Garbage collection

Hi,

I'm sure the MeyerMaster or FiendishFrost can help out here.

MP2004-EURO, Memory usage

Using VB6 for automation, and cant seem to do anything that releeases any of the memory used by map point, apart from closing, but that isnt a realistic option.

I have noticed though, that if you simply minimize the mappoint window with the mouse, the memory goes down from over 150M (in my example) to about 1.8/1.9M!!!!! Use the task manager to view this.
I've tried minimizing the window using the mp object model (windowstate), but doesn't work, but click that minimize button and watch the garabge being collected!!!

Does anyone know of this, will sedning the mappoint app window a windows message to minimize do the trick?

Also, I notice that MP stores quite a lot of data in ech iof the cached forward/back screen shots and is probably contributing to using lots of memory to hold these pages, can the app be configured in any way to limit to say 3 most recent searches/views, ie 3 pages on the back button?

Any other tips on making MP smaller most appreciated.

Dont let me down dudes!!!!!!
Reply With Quote