title: Nativescript camera module out of memory crash
body: <p>I need to take an image which size is huge 2048x1152 and it works first time but if I take second I get crash: "Error:java.lang.OutOfMemoryError: Failed to allocate a 377.....byte allocation with 148..... free bytes and 14MB until OOM"</p>
  
  <p>My code follows these instructions from Nativescript documentation: <a href="https://docs.nativescript.org/hardware/camera" rel="nofollow">https://docs.nativescript.org/hardware/camera</a></p>
  
  <p>Question is. How and where can I somehow clear cache/whatever it is that hold my first image. Is the fault caused by camera module at all, is it on image module "var image = new imageModule.Image();"</p>