My non-professional answer: in general, "too many" is for a countable amount, while "too much" is when the exact quantity is either not countable, not known, or the precision is not required. As typical, there are exceptions to any rule and you'll have to find out from a native speaker for the specific situation.
Example:
I can't have another drink, I've had too many already.
No, thank you. I've eaten too much already.
There are too many people here.
The roads have too much traffic.