title: Android Grow heap (frag case) to 7.827MB for 1228816-byte allocation
body: <p>I am developing an android image capture application using opencv library(face-detection sample). My aim is to capture 5 images and send it to my webservice. After capturing image, convert the Bitmap image into base64 string and store into string[]. Finally I send this string[] to web service. This application working in my emulator. But when I check with my android tablet it throws "Grow heap (frag case) to 7.827MB for 1228816-byte allocation" exception and exit the application. After searching in the internet I found some of the links regarding this. </p>
  
  <p>link-1: <a href="https://stackoverflow.com/questions/7247049/android-grow-heap-frag-case">Android grow heap frag case</a> </p>
  
  <p>link-2: <a href="https://stackoverflow.com/questions/9390805/how-can-i-clear-growing-heap">how can I clear growing heap?</a></p>
  
  <p>But they didn't tell what I'll do If the problem exist. After saw some links, I think this may because of memory leak. But I don't know what to do. As I am new to the android, Can you give me some suggestions regarding this would be great.</p>
  
  <p>I have attached my log file in the following link.
  <a href="http://pastebin.com/82VxhBmz" rel="nofollow noreferrer">http://pastebin.com/82VxhBmz</a></p>