You’ve got an app with runaway memory use, what do you do hotshot? What do you do? If you’ve exhausted the usual suspects it might be time to take drastic steps. It might be time to take a production heap dump. I previously wrote about doing this on Heroku, but since then we’ve launched Heroku exec, a way to SSH into a live running Dyno to allow you to debug. Now that you can do that, you don’t need an AWS account or any fancy gems to generate a heap dump, just activate this feature and add the rbtrace gem to your app. Let’s do this to an app together.
First, we need to set up the app with Heroku Exec. Check the Heroku Exec docs as these steps may change in the future. We’re going to start by installing the plugin:
Every month myriad of web development tools are being released by developer community. Such tools are quite useful when working on different projects. These tools not just make the work[…]
In the first part, we talked about creating geometrical shapes in canvas using EaselJS. In this article, we will talk about animating sprites in canvas with EaselJS. We will use the sprites sample as a base and we’re going to use this PNG files as a source for our sprite sequences.
Our pegasus in running mode: