Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm developing a web app using Arcgis Server 9.3.1 and Javascript API

I have a database with gps data from several vehicles and I need to display each vehicle real position in a map. I display this points in a Dynamic Layer, but I need to add an Identify action on hover, so I created a graphics layer, and every 10 seconds, I clear the graphics layer and query the database to get the new coordinates values, then, I create and add each point to the graphics layer, so I can hover over the features and ifentify them.

This is already working in IE and Firefox, but in Chrome this causes a memory overflow.

Does anyone have any suggestions to fix this? Thanks.

share|improve this question
1  
lets have some code –  Simon Jun 9 '12 at 6:23
    
If you're tracking a large number of vehicles, you may have better luck creating a map service and adding it as a dynamic map layer instead of using the graphics layer. –  mrohlf Jun 22 '12 at 21:39
    
Thats exactly what I did, seems like I didn't explain myself. I already edited my question, plase, have a look. –  eiefai Jun 25 '12 at 16:04
    
How many vehicle points are you dealing with? Is the memory overflow immediate, or does it take a refresh or two? –  blord-castillo Jul 3 '12 at 15:43
    
There are about 200 vehicles, in IE and Firefox the memory used is about 70 MB, when in Chrome it starts at 70 MB and each refresh increase it until it crashes. –  eiefai Jul 3 '12 at 16:48
show 3 more comments

closed as unclear what you're asking by Paul, PolyGeo, Fezter, Curlew, Devdatta Tengshe Oct 18 '13 at 4:57

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.