My company is currently building a very large SPA written in Angular 2 and we have some issues regarding memory consumption.
During my tests, I have commented out all code from the app, leaving just the main module and two components that are completely empty. We use Webpack for transpilation purposes.
While profiling in Chrome, the memory consumption seemed quite consistent, but when I did the same in IE11 (the client will mainly use this browser), the memory seems to constantly increase even if I refresh the browser window.
Following are two screenshots of the IE profiler as well as the task manager. Each spike indicates a browser refresh. Also note, that taking a heap snapshot is showing a constant value of 3.16Mb for my website, so nothing wrong there.
This issue is made worse on the full version, where after some hours of work, the browser can reach over 1Gb.
The Task Manager :
Is this constant memory increase in IE11 a known issue? If you would like some more info on my implementation please ask.