What is wrong with IntelliJ and large XML files?

Ok, so my xml files is 16000 lines long. I don't expect IntelliJ to hang if I open an big XML file though and that's exactly what it does.

I'm on a 4 core machine. Opening the file pegs 1 of the cores at 100%, locks the interface and never recovers. (Never being a relative term, I went away for an hour over lunch and it still wasn't done.)

Has anyone else hit this problem. Is there a fix, or should I just use a text editor for files like these?

Cheers,
Peter

3 comments
Comment actions Permalink

Hi Peter,

ProggerPete wrote:

Has anyone else hit this problem. Is there a fix, or should I just use a text editor for files like these?

Cheers,
Peter


Right way to go is to submit corresponding ticket to IDEA tracker, create cpu/memory snapshots and attach them to it.

It would be nice if you attach problem *.xml file as well.

Regards, Denis

0
Comment actions Permalink

As is usual with things like this I got past it and stopped thinking about it. Now it's biting me again as I'm having to make a couple of changes to the project.

i've attached the file. It's biggish, but I'm suprised that it completely hangs my IDE the way it does.

Turns out I'm not alone... http://youtrack.jetbrains.net/issue/IDEA-56575?projectKey=IDEA



Attachment(s):
Fields.xml
0
Comment actions Permalink

Suggest you follow the above advice and file a bug, with the xml file attached. What good does it do here?

Dave

0

Please sign in to leave a comment.