IDEA-106641: Opening *.xml or *.xsl files cause IntelliJ to start eating memory
(cherry picked from commit 0c40bfc)