How to turn off predictive loading?

In my project dir there are large files (a few MB of machine-generated XML or documentation, etc.)

At some point PyCharm apparently decides to parse them in the background, just in case.
The IDE goes horribly slow, then OOM.
(My machine has 32 Gigs of RAM, but PyCharm can only use 2 and seems to waste lots of RAM trying to figure out XML)

How do I stop PyCharm from this suicidal behaviour?

I know how to completely hide dirs from pycharm, but this is not what I want.
Sometimes I do want to look at one of those large files.

Its just parsing all of them on every change seems to kill PyCharm.

Thanks!

Please sign in to leave a comment.