title: How Can I Send Video of a large size to Server?
body: <p>i have found this code  <a href="https://stackoverflow.com/questions/26686806/httpurlconnection-to-send-image-audio-and-video-files-with-parameter-may-stri/34401295#34401295">HttpURLConnection to Send image , audio and video files with parameter may (String or Json String) Android</a> and it works perfectly with video, images and audio. But when i send a large video i get this error :</p>
  
  <pre><code>Throwing OutOfMemoryError "Failed to allocate a 28 byte allocation with 0 free bytes and -1856B until OOM" (recursive case)
  </code></pre>