Make sure you give it enough memory.
Edit the bin/idea.exe.vmoptions and add the following:
-Xms32m -Xmx768m -XX:MaxPermSize=128m -ea
Otherwise it can behave very slowly.