If you consider only the RAM on the developers' PCs maybe. If you count in thousands of customer PCs then optimizing the code outperforms hardware upgrades pretty fast. If because of a new Windows feature millions have to buy new hardware that's pretty desastrous from a sustainability point of view.