The green lines are when we deploy updates. Essentially: ./launcher rebuild app.
Ruby (and JS, which we run inside the Ruby processes via MiniRacer/v8) are constantly garbage-collecting while they’re running, and in response to signals from the operating system. So I don’t think there’s any large benefit to be gained from doing anything manually.