tessel/runtime#459 r=@kevinmehall: Exit with an error on memory allocation failure. Fixes #458