My company is currently building a very large SPA written in Angular 2, and we have some problems with memory consumption.
During my tests, I commented on all the code from the application, leaving only the main module and two components that are completely empty. We use Webpack for transpilation purposes.
During profiling in Chrome, the memory consumption seemed quite consistent, but when I did the same in IE11 (the client will use this browser mainly), the memory seems to constantly increase even if I refresh the browser window.
Below are two screenshots of the IE profiler, as well as the task manager. Each surge indicates a browser update. Also note that taking a heap snapshot shows a constant 3.16 MB for my website, so there is nothing to worry about.
This problem is exacerbated in the full version, where after a few hours the browser can reach more than 1 GB.

Task Manager:

Is this persistent memory in IE11 a known issue? If you want more information about my implementation, please ask.
source
share