I'd like to take heap dumps of a play framework (v2.4.x) deployed on heroku. I read this heroku guide which instructs to prefix the java command with with_jmap. However play has its own start script that executes java and the with_jmap option is ignored.
What's the correct way of configuring jmap on play heroku? If there's an alternate way of getting heap dumps on heroku other than jmap I'm open for suggestions
apparently this was an issue with sbt-heroku that we're using, it was fixed in latest version 0.5.4 so with_jmap just works as expected on the play sh script