Sometimes, but not always, fsc runs forever on a newly created .scala-file. In
this case, fsc -shutdown also runs forever. fsc creates dozens of java
processes that consume memory until the system becomes unresponsive, unless I
kill all java and scala processes. The latter however doesn't solve the problem
as restarting fsc shows the same behavior. Also, the problem persists if I log
out and in again on Xfce. The only solution I found is to reboot.
Sometimes fsc terminates with a message "unable to connect to compilation demon
after 300 attemps".
I discussed this problem on the Scala mailing list without arriving at a
solution. scalac always works, but takes much more time than fsc.
This problem is not reproducible .