title: What is maximum file size that can be handled by the JVM?
body: <p>I wanted to know the <strong>maximum file size</strong> that can be read by Java code? </p>
  
  <p>I wanted to handle file size of <strong>100mb</strong>. is this possible?</p>
  
  <p>If possible what are the <strong>JVM initial settings</strong> that I have to do?</p>
  
  <p>Please recommend some best practice in handling file. <em>like use ObjectInputStream,FilterInputStream etc.. use byte array to store file contents etc</em></p>