We have added 2K to 300K location marker in ArcGIS Map application memory goes high and terminate due to memory.
in ArcGIS Map, we get data about 2K to 300K and set and remove data on a particular zoom level. In this process we get N element and using for loop create N element AGSSymbol then it add on AGSGraphic Array.
After the large process [AGSGraphic] into the AGSGraphicsOverlay. then it adds on ArcGIS Map.
this process is repeated when certain zoom in or zoom out and Memory increase continuously.
so how can solve this issue of memory usage ?? Nicholas Furness Divesh Goyal
300,000 markers seems like quite a lot and at a certain point you might find that device memory simply isn't enough.
Some possible optimizations:
When you have that much data, it is usually unnecessary to have it all loaded at once (it's either partially off the visible map area, or else if it's all being displayed it's unreadable or better represented in some processed way):