MapPoint Forums

MapForums

Community of MapPoint and Bing Maps Users and Developers




Map point crashes on heavy traffic

This is a discussion on Map point crashes on heavy traffic within the MapPoint Desktop Discussion forums, part of the Map Forums category; I have an application (VB) that uses map point to verify address based on GPS information (gets lat and long ...


Go Back   MapPoint Forums > Map Forums > MapPoint Desktop Discussion

Today's Posts Twitter Feed Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-29-2008
Junior Member
White Belt
 
Join Date: Jul 2008
Posts: 3
Map point crashes on heavy traffic

I have an application (VB) that uses map point to verify address based on GPS information (gets lat and long and verifies address ...) but map point crashes on the server when the traffic is high (two requests per second) and I get the 11014 error message. In this case I see map point gets a lot of memory in the server (from process list in task manager) and I have to restart map point and my application. I appreciate any ideas.
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 07-29-2008
Mattys Consulting's Avatar
Senior Member
Red Belt
 
Join Date: Dec 2002
Posts: 713
Re: Map point crashes on heavy traffic

Hi ...

I haven't seen that error # before.
Does it simply happen at random times?
Are you already using On Error Resume Next?
(VB6 or that new ???)

Mike Mattys
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 07-29-2008
Junior Member
White Belt
 
Join Date: Jul 2008
Posts: 3
Re: Map point crashes on heavy traffic

The application crashes randomly but when I increased the number of requests, it started to crash more often like as I have about 2 request per second, map point crashes every 3-4 hours. I see that error message in event viewer in Windows.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 07-29-2008
Mattys Consulting's Avatar
Senior Member
Red Belt
 
Join Date: Dec 2002
Posts: 713
Re: Map point crashes on heavy traffic

Hmm ...
If saving to any Microsoft file (mdb), I'd recommend
stop and compact/repair at regular intevals.

No other guesses, sorry.

Mike Mattys
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 07-29-2008
Winwaed's Avatar
Mapping-Tools.com
Black Belt
 
Join Date: Feb 2004
Posts: 1,463
Blog Entries: 40
Re: Map point crashes on heavy traffic

I'm not sure the error code off hand (did you try looking it up?)
But I've seen something with Excel.

The problem was that my code was feeding data to Excel quicker than it could handle it (eg. because the user is using scroll bar, or my code was particularly quick). This produced an error code that meant "busy" or something like that. Later versions of Excel are more susceptible.

The solution is like Mike says: use an ON ERROR block.
I trapped all errors, checked the error code for the "busy" code. If it was something else, then throw an exception ("Excel died" or something similar).
If it is the busy code then sleep for 100ms or so and try again.
If you're seeing your error twice a second, then I'd wait for 0.6 seconds.

Richard
__________________
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
See the Geoweb Guru for online mapping
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 07-30-2008
Junior Member
White Belt
 
Join Date: Jul 2008
Posts: 3
Re: Map point crashes on heavy traffic

Thanks for the tip, I use SQL DB but it is not getting updated just some info is there and I use them.

Thanks,
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
crashes, heavy, map, point, traffic


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
NAVTEQ Traffic Mobile™ Powers Verizon Wireless Traffic Application MapAdmin Other Mapping Platforms 0 05-20-2008 04:56 AM
Total Traffic Network Named Traffic Information Service Provider For Bmw Of Na Eric Frost News and Announcements 0 09-08-2006 07:21 AM
mappoint pushpins and zip code heavy hitters tvsmvp MapPoint Desktop Discussion 1 10-10-2005 01:01 PM
Help crashes glshrike MapPoint Desktop Discussion 1 02-03-2004 01:57 PM
Control Crashes - Help !!! dougw MapPoint Desktop Discussion 1 04-10-2003 08:29 AM


All times are GMT -5. The time now is 11:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.5.0 RC3
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70