Using IntelliJ on MacOS Sierra, I frequenty encounter short hickups of the IDE. Whenever I switch to a browser or other application and come back to IntelliJ, the IDE hangs for a few seconds. The activity monitor shows, that the CPU usage goes up to about 300%. After a few seconds, I can continue working, but it is extremely annoying.
Any idea what might go wrong here?