Anybody having issues with large amounts of memory being used when looking at the ArcGIS API for JavaScript website using a Chrome browser? If I camp on that website, Chrome starts just using up lots of my systems memory. It takes a while though. This morning when I came in, it had allocated 2.8Gb of memory. As soon as I dismiss the tab, the memory is reallocated. Very weird... The same happens on the ArcGIS API for Flex too.
Solved! Go to Solution.
Tom,
Is it unique to your web app that you developed? I sounds like you have some code that is continually creating a new object (like in a loop or timeout) and never destroying it or setting it to null.
Robert,
Thanks for the speedy response. This is not an app that I developed. It is just browsing to the ArcGIS API for JavaScript website. Other browsers don't gobble up memory, but Chrome does.
Just navigate to: ArcGIS API for JavaScript using Chrome and open up the Task Manager. It takes a couple of hours, but it will start building up a large use of memory.
I use the API reference page a lot so I generally just camp on this website all day.
Thanks!
Best Regards,
Tom
Tom,
OK. Firefox is my primary browser and the one I leave the resources pages open with for multiple days. I will test this with Chrome and see if I can duplicate your findings.
I have had a tab open to the JavaScript API web site most of the day and it has over a gigabyte of memory consumed.
Robert,
Just checking back with you. Were you able to duplicate this problem?
Thanks very much!
Regards,
Tom
Tom,
Yes. I can have Chrome open to the JS API Resource page and just watch the memory climb in Task Manager every couple of seconds.
Thank you sir! I am not exactly sure who to report this problem to. I was hoping that someone from ESRI would see this post and investigate. I have inadvertently left my Chrome browser open to this page overnight and had my system run out of memory.
Regards,
Tom
Thanks very much Robert!