I’m running Ubuntu 15.10. Sometimes running Java programs causes my entire xserver to freeze. I can’t close stuff, use programs, or do stuff like type in terminal. Using Control+Alt+F1 allows me to kill the Java process to unfreeze the xserver.
Looking at the Java process, it’s not using a huge amount of CPU (1-3%) or RAM (50MB-100MB).
My java version:
paul@paulpc:~$ java -version java version "1.8.0_77" Java(TM) SE Runtime Environment (build 1.8.0_77-b03) Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)
However, running Java programs with
taskset 0x80 <program> seems to make the programs not crash the xserver, however they run much slower. An example program that causes this is Netbeans.
Let me know if I need to provide any more details.