title: Outof memory error while working on large dataset
body: <p>I am running a code on LSI, which requires first fetching a lot of data from database. It is working fine for small data-set. As, i increase the data-set, it gives me the following error.</p>
  
  <pre><code>Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
  </code></pre>
  
  <p>I am currently running the code on system having 2 GB of RAM. Is the error related to RAM capacity or due to something else.</p>
  
  <p>Thanks!</p>