title: Phonegap android file to base64 out of memory error
body: <p>I am attempting to get a video file on android, convert it to base64 encoding and upload it. </p>
  
  <p>When the file is larger than <code>5Mb</code>, I get <strong>out of memory error</strong> in <strong>android</strong>, but ios convert large files also. Only in android I got this error.... </p>
  
  <p>This is my code:</p>
  
  <pre><code>var reader = new FileReader();
  reader.onload = function(evt1) {}, reader.onloadend = function(evt) {
      console.log("read success");
      console.log(evt.target.result);
  };
  reader.readAsDataURL(file);
  </code></pre>