So you’d normally say “that’s too much!” in which case the subject “that” is plural and countable so therefore “much” would be correct.
Otherwise you should say “you have given me too many refried beans!” since the beans are volumetric and not countable entities.
GNU’s Not Unix