Out Of Memory Exception while uploading video to facebook in android
<p>while uploading the video to facebook i am getting the Out Of memory exception log cat showing the following exception:</p>

<pre><code>java.lang.OutOfMemoryError: (Heap Size=19783KB, Allocated=13705KB, BitmaSize=0KB) 
    at java.io.ByteArrayOutputStream.expand(ByteArrayOutputStream.java:91) 
    at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:216)
</code></pre>

<p>Please some one help me Thanks in advance.</p>
