An extremely lightweight Java agent that can be used to send memory usage information to your logs.
For more information see Troubleshooting Memory Issues in Java Applications
For instructions on consuming the logs for alerting and monitoring, see Monitoring JVM metrics with the Heroku Java agent.
MIT