I'm not sure if this will help you (you may have already studied it), but it is worth mentioning. I had a similar problem with the previous application, where objects were constantly duplicated during each ajax request. Thus, from the page load, I would use about 50 MB of memory, but after 10-15 ajax calls the memory, the sky rocket rocket up to 1 GB.
I was able to identify and solve the problem using the chrome dev tools -> memory tool. Here you can record memory allocation profiles and get a heap snapshot. Thus, for your situation, I can reduce the timer to 5 or 10 seconds for testing purposes, and then run these profilers. You can get an idea of ββwhat methods are being called and at what price.
Hope this helps.
reedb89
source share