[Tex/LaTex] Texstudio crashing when the file is huge

texstudio

My texstudio is crashing whenever I do this:

I have a bunch of \input{files} because I'm writing a large document. When writing, I commented out most of the inputs to speed up the compile process. However, when I uncomment all the inputs, my texstudio crashes all the time. It seems like texstudio cannot handle the large files.

Anyway to overcome this problem?

Best Answer

TeXstudio does a lot of pre-loading, scanning and analyzing behind the scenes which may spell trouble if you are including many large files and/or if you have an old system. You can turn off this option by deactivating automatically load included files in Configure TeXstudio -> Editor (with show advanced options checked on the bottom left corner of the Config dialog). Then you should have a smoother experience with TXS / not have TXS crash so often.

In that case, you would have to keep the \include-d files open in TXS if you want to use any defined commands, labels etc. from that file and have them prompted to you by TXS.

enter image description here