title: Is it possible to get OutOfMemoryError because garbage collection too slow?
body: <p>In java, is it possible that you get a OutOfMemoryError exception, even when there should have enough memory should garbage collection freed more memory? In other words, if there is not enough memory to allocate, will gc be forced to run before throwing the OutOfMemoryError?</p>
  
  <p>Thanks.</p>