Create a new command with only digits as body, e.g.:
\newcommand{\myID}{01234567890}
The higher the number, the sooner TeXstudio crashes. The attached file contains such a command, I can't even open the file without a crash.
Texstudio 2.8.2 (Standalone)
fixed in repository