title: Heroku memory leak with Play2 scala
body: <p>Was doing some stretch (ab) test to my 1 heroku dyno and dev database with 20 connections limit.</p>
  
  <p>During the calls (that access database with squeryl the heap allocation is increasing causing R14 (memory more than 512MB))</p>
  
  <p>I cannot seem to reproduce the problem (at that levels at least locally).</p>
  
  <p>Is there any way to get heroku heap dump and analyze it to get some clue?</p>
  
  <p>Is there any known issues with play2, scala, squeryl and heroku memory leak?</p>
  
  <p><strong>Update</strong></p>
  
  <p>If i do System.gc at the end of the controller everything seems to be fine and slower ofc...I create a lot of object at that call but shouldn't heroku's JVM take care of gc? Also if i schedule gc call periodically don't free memory</p>