title: Reduce Memory Usage in React Native iOS App
body: <p>My app works perfectly fine in iphone7 , iphone 11 (real devices) , but crashes as soon as it navigates to another page in iphone6 and iphone XR. The error which i get from bugsnag is </p>
  
  <blockquote>
    <p>Out Of Memoryunknown method, The app was likely terminated by the
    operating system while in the foreground</p>
  </blockquote>
  
  <p>After going through the profile for memory leaks in Xcode i figured out 2 processes :</p>
  
  <p>1.VM: ImageIO_PNG_Data was taking too much memory ~ 400 MiB</p>
  
  <p>2.VM :CoreAnimation was taking too much memory. ~ 700 MiB</p>
  
  <p>For image , i just resolved to lower quality images and the memory usage decreased, but in case of CoreAnimation does anyone have any idea how to lower the value in React-Native? Any suggestion would help. I've used react-navigation for navigating from one page to another.</p>
  
  <p>Please check below image for your reference:</p>
  
  <p>Do ask if any more information is required.</p>
  
  <p><a href="https://i.stack.imgur.com/rA6zE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/rA6zE.png" alt="Please check below image for your reference "></a></p>