Heroku will automatically restart your dinosaurs as soon as they exceed both the limits of dynamo memory and the limitations of dynamo-SWAP MEMORY. There are two separate limitations.
When you see the R14 error message, it means that you have exceeded the memory limits - but Heroku will maintain your dynamic mode until you also finish swap memory (which is like fake memory that is being saved to disk).
The disadvantage of this is that when using swap memory your application will be much slower.
The good news is that if your application runs out of memory quickly, Heroku will restart it quickly the same way =)
source share