title: Angular 6 website shows in chrome task manager, 1.3 gb of memory footprint and then 160 mb memory footprint after few seconds
body: <p>I'm using Angular 6 and in production, our website starts with 100MB memory footprint and then keeps on increasing to 1.3gb on memory footprint while loading and then it drops to 160mb in a few seconds after the load is complete.</p>
  
  <p><a href="https://i.stack.imgur.com/FhHB7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FhHB7.png" alt="Initial load of image"></a>
  <a href="https://i.stack.imgur.com/Weqar.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Weqar.png" alt="Final loading of website"></a></p>
  
  <p>Can anyone suggest me why is this happening and how to debug this problem?</p>
  
  <p>For this reason, many users are getting <em>Aw snap</em> of chrome error when opening the website. I guess users with low RAM are facing this issue.</p>
  
  <p>P.S.: I'm using production build and all the standard production deploy steps.</p>