title: examples of garbage collection bottlenecks
body: <p>I remembered someone telling me one good one. But i cannot remember it. I spent the last 20mins with google trying to learn more.</p>
  
  <p>What are examples of bad/not great code that causes a performance hit due to garbage collection ?</p>