[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

How to re-use markers in Subgurim GMap contol

Posted on 2009-02-09
1
Medium Priority
?
1,307 Views
Last Modified: 2013-11-07
Hi
I'm hoping someone on EE has some experience of using the subgurim gMap control. In general this is a very good control but I'm experiencing a serious memory leak problem. I have an app that tracks vehicles, every minute it replots the vehicle curremt location. the problem is that the subgurim control does not offer a method to re-use existing markers so the system adds a whole set of new markers every minute. After 45mins it's using 1.5GB of memory!

has anyone solved this problem? I suspect it can be solved in javascript but I have no J skills

Many thanks

0
Comment
1 Comment
 

Accepted Solution

by:
RadicalSoftwareSolutions earned 0 total points
ID: 23780376
OK I worked this oput - or rather worked out a workaround.

The subgurim control builds up a complete (huge) javascript command each time it refreshes. If you use a marker managr to plot the markers then set the markermaneger to empty - all the existing markers are removed and the memory gets released
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question