It's easy to write code that trivially eats memory. Plus any resources spent on it, are resources not spent on other cloud provider things.