title: java.lang.OutOfMemoryError: Java heap space when doing a JDBC read from Oracle
body: <p>I get a java.lang.OutOfMemoryError: Java heap space message when reading from an 11g Oracle database via JDBC.  I have the defaultRowPrefetch set to 10000, reducing it to 2000 seems to resolve the issue.  However, adding additional memory to the JVM (-xmx) does NOT resolve the issue.  This issue only seems to occur in 64-bit java 1.6 - I was not seeing this issue in 32-bit java.</p>
  
  <p>My question, what setting can I change to allow my application to run with the larger defaultRowPrefetch?</p>