title: out of memory java heap size
body: <p><a href="http://www.coderpanda.com/java-socket-programming-transferring-large-sized-files-through-socket/" rel="nofollow">http://www.coderpanda.com/java-socket-programming-transferring-large-sized-files-through-socket/</a></p>
  
  <p>The code in the above link is working but upto a certain amount of data can be transferred. when i tried to transfer a movie of format .mkv of size approx 334 MB it gives me error of "out of Memory, java heap size". I am a begginner and i dont know how to solve this i tried to increase the buffersize in client side program but the problem still persist. please help me.</p>