JavaScript Heap Size and Chrome Enlargement

I have one web page application which is all JavaScript. I noticed that the JavaScript heap size increases on every AJAX call that returns a new view. Is there something I have to do to clear old looks?

+6
source share
1 answer

I would recommend you take a look at the following resources. You can see how to check the browser timeline to detect link leaks and performance issues.

The first Chrome developer says this year on Google IO:

http://www.youtube.com/watch?v=3pxf3Ju2row

The second is from Paul Ireland, speaking in the episode of Break 2:

http://www.youtube.com/watch?v=PPXeWjWp-8Y

I am sure you will find many tips! Anyway ... if you are sharing a test example of your code on jsfiddle.net, we can take a look :)

+3
source

All Articles