Yes, there is a limit. The size of a single global custom dictionary for the Cloud version is limited to 1 million characters.
If you are using the Server version, you don't have such a limit. However, if you have large wordlists, it is recommended to compile them. Otherwise, you may experience the performance issues.