title: Allocation failure in Java
body: <p>I have a method which hits DB and fetches lot of records into memory for processing. After I fetch the records and before I start processing, I get the following log message. What does it mean ?</p>
  
  <pre><code>164575.034: [GC (Allocation Failure)  4937664K-&gt;3619624K(5602816K), 0.0338580 secs]
  </code></pre>
  
  <p>Options:</p>
  
  <pre><code>java.opts=-d64 -Xmx8g -XX:+PrintGCTimeStamps -verbose:gc -XX:MaxPermSize=512m -XX:+UseParallelGC -XX:+UseParallelOldGC
  </code></pre>