100% CPU when opening ant build file in 6763

Whenever i open up an ant build file my cpu is pegged at 100%. It does not go down again until i close the tab for that build file. If i open the file again, cpu goes back up to 100%.

Quite hard to take a cpu spnapshot in this scenario...but i got one in the end and opened it in yourkit.
Hotspots seemed to be around:
- org.jivesoftware.smack.PacketReader$1.run()
- com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttributeValue

I'll try to attach the dump....nope it is too large.

Also note:
- i've turned off all Ant Inspections.
- if i generate an ant build in intellij everything seems fine (so must be something in our build file)



I don't think this is related to http://www.intellij.net/forums/thread.jspa?messageID=5184221 as i don't have spaces in the path where i installed intellij.

3 comments

Hello oliver,

Whenever i open up an ant build file my cpu is pegged at 100%. It does
not go down again until i close the tab for that build file. If i open
the file again, cpu goes back up to 100%.

Quite hard to take a cpu spnapshot in this scenario...but i got one in
the end and opened it in yourkit.

Hotspots seemed to be around:

- org.jivesoftware.smack.PacketReader$1.run()

-
com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttribu
teValue

I'll try to attach the dump....nope it is too large.


Could you please create a request in JIRA (http://www.jetbrains.net/jira/)
and attach the YourKit snapshot to it?
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Hello Oliver,

Just a thought: there is a known issue with ant files, that has similar simptoms:
http://www.jetbrains.net/jira/browse/IDEADEV-11956.
Have you xmlns declarations in your file?

Whenever i open up an ant build file my cpu is pegged at 100%. It does
not go down again until i close the tab for that build file. If i open
the file again, cpu goes back up to 100%.

Quite hard to take a cpu spnapshot in this scenario...but i got one in
the end and opened it in yourkit.

Hotspots seemed to be around:

- org.jivesoftware.smack.PacketReader$1.run()

-
com.intellij.lang.ant.psi.impl.AntStructuredElementImpl.computeAttribu
teValue

I'll try to attach the dump....nope it is too large.

Also note:
- i've turned off all Ant Inspections.
- if i generate an ant build in intellij everything seems fine (so
must be something in our build file)
I don't think this is related to
http://www.intellij.net/forums/thread.jspa?messageID=5184221 as i
don't have spaces in the path where i installed intellij.

Alexander.


0

Please sign in to leave a comment.