{"action":"created","issue":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/1224","labels_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1224/labels{/name}","comments_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1224/comments","events_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1224/events","html_url":"https://github.com/cursive-ide/cursive/issues/1224","id":127677601,"number":1224,"title":"High CPU usage (600%)","user":{"login":"pmoriarty","id":90610,"avatar_url":"https://avatars.githubusercontent.com/u/90610?v=3","gravatar_id":"","url":"https://api.github.com/users/pmoriarty","html_url":"https://github.com/pmoriarty","followers_url":"https://api.github.com/users/pmoriarty/followers","following_url":"https://api.github.com/users/pmoriarty/following{/other_user}","gists_url":"https://api.github.com/users/pmoriarty/gists{/gist_id}","starred_url":"https://api.github.com/users/pmoriarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmoriarty/subscriptions","organizations_url":"https://api.github.com/users/pmoriarty/orgs","repos_url":"https://api.github.com/users/pmoriarty/repos","events_url":"https://api.github.com/users/pmoriarty/events{/privacy}","received_events_url":"https://api.github.com/users/pmoriarty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T13:03:03Z","updated_at":"2016-01-22T09:05:06Z","closed_at":null,"body":"Suddenly started seeing 400-600% CPU usage. I was editing a build.gradle file at the time and it seems that the high usage eventually stops if I leave the IDE idle. Touching the file starts it off again.\r\n\r\nNote, I'm using `gradle idea` to build the iml and ipr files rather than pointing IDEA to the gradle build files. I'm also only making whitespace changes to the file.\r\n\r\nIDEA keeps throwing thread dumps at me which look like Cursive is heavily involved:\r\n\r\n[threadDump-20160120-124916.txt](https://github.com/cursive-ide/cursive/files/97441/threadDump-20160120-124916.txt)\r\n[threadDump-20160120-124615.txt](https://github.com/cursive-ide/cursive/files/97442/threadDump-20160120-124615.txt)\r\n[threadDump-20160120-123828.txt](https://github.com/cursive-ide/cursive/files/97443/threadDump-20160120-123828.txt)\r\n[threadDump-20160120-123403.txt](https://github.com/cursive-ide/cursive/files/97444/threadDump-20160120-123403.txt)\r\n\r\nIDEA 15.0.2\r\nCursive 1.1.0\r\nOS X 10.11.2"},"comment":{"url":"https://api.github.com/repos/cursive-ide/cursive/issues/comments/173854372","html_url":"https://github.com/cursive-ide/cursive/issues/1224#issuecomment-173854372","issue_url":"https://api.github.com/repos/cursive-ide/cursive/issues/1224","id":173854372,"user":{"login":"pmoriarty","id":90610,"avatar_url":"https://avatars.githubusercontent.com/u/90610?v=3","gravatar_id":"","url":"https://api.github.com/users/pmoriarty","html_url":"https://github.com/pmoriarty","followers_url":"https://api.github.com/users/pmoriarty/followers","following_url":"https://api.github.com/users/pmoriarty/following{/other_user}","gists_url":"https://api.github.com/users/pmoriarty/gists{/gist_id}","starred_url":"https://api.github.com/users/pmoriarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmoriarty/subscriptions","organizations_url":"https://api.github.com/users/pmoriarty/orgs","repos_url":"https://api.github.com/users/pmoriarty/repos","events_url":"https://api.github.com/users/pmoriarty/events{/privacy}","received_events_url":"https://api.github.com/users/pmoriarty/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T09:05:06Z","updated_at":"2016-01-22T09:05:06Z","body":"Just an update here. Disabling either the Gradle plugin OR Cursive fixes this issue.\r\n\r\nHere are some more thread dumps after enabling both plugins and opening just build.gradle in the editor (no clojure files open):\r\n\r\n[threadDump-20160122-090136.txt](https://github.com/cursive-ide/cursive/files/100508/threadDump-20160122-090136.txt)\r\n[threadDump-20160122-090335.txt](https://github.com/cursive-ide/cursive/files/100509/threadDump-20160122-090335.txt)\r\n\r\n"}}