What is the maximum number of characters that a textbox can hold?

(I don't want to limit the user's input, I just want to know the theoretical maximum limit).

Thanks.