https://bugzilla.redhat.com/show_bug.cgi?id=1294697
Damien Gombault desintegr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |desintegr@gmail.com
--- Comment #2 from Damien Gombault desintegr@gmail.com --- Hi.
I use Eclipse for Apache Directory Studio plugin. I noticed Eclipse uses a lot of CPU when idle :
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 31981 damien 20 0 5214316 337580 46388 S 63,8 4,2 1:23.96 java
Some other operations (open a LDAP connection) uses a lot of CPU too (abnormal) and does not work on some LDAP servers (connection Window freezes).
When minimized (Super+H with GNOME Shell), Eclipse uses less than 1% CPU.
I think the problem is the GTK3 version of Eclipse. If I run eclipse --launcher.GTK_version 2, it uses less than 1%CPU idleing. Other operations (open a LDAP connection) works normally.
The bug has been reported upstream ([GTK3] Eclipse Mars SR1 consumes 60% CPU while idling) : https://bugs.eclipse.org/bugs/show_bug.cgi?id=478962 And is fixed in master : Gerrit change https://git.eclipse.org/r/61124 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=87d512...
I use eclipse-swt-4.5.1-6.fc23.x86_64 on Fedora 23.