As dem TeXbook, [The TeXbook](https://ctan.org/pkg/texbook), Kapitel 10 “Dimensions”, S. 58
> TeX will not deal with dimensions whose absolute value is 2<sup>30</sup> sp or more. In other words, the maximum legal dimension is slightly less than 16384 pt. This is a distance of about 18.892 feet (5.7583 meters), so it won't cramp your style.