I’ve Had It Up to Here

What does the expression “I’ve had it up to here” mean?

Definition: My patience is almost exhausted.

Example: I’ve had it up to here with my husband’s drinking. I think I’m going to leave him.