Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] How can I prevent the indexer taking over the entire CPU?

Thanks Sergey - I'll report back

On 15 March 2016 at 13:28, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:
Indexer is single threaded and cannot possibly take over all four cores of Core i7-4790. The problem you are seeing is probably I/O related. I recommend using iotop to investigate the issue.

-sergey

On Tue, Mar 15, 2016 at 11:13 AM, Steve Lorimer <steve.lorimer@xxxxxxxxx> wrote:
Hello all

Is there anything I can do to prevent the indexer from periodically taking over the entire CPU?

Every now and then I will see indexer running in the Progress tab, and my computer will become totally unresponsive. "top" shows the Java process running at several hundred percent.

I am running Eclipse IDE for C/C++ Developers

Version: Mars.2 Release (4.5.2)
Build id: 20160218-0600

This is on 

Ubuntu 14.04
Core i7-4790 CPU @ 3.60GHz
8GB RAM
150GB SSD

My indexer settings are:

Indexer options 
Allow heuristic resolution of includes
Skip files larger than 8MB
Skip included files larger than 16MB
Indexing strategy
Automatically update the index
Cache limits:
Index database cache:
Absolute limit: 4096MB
Limit relative to max heap size: 50%
Header file cache:
Absolute limit: 4096MB

I have the following settings for eclipse.ini

$ cat /opt/eclipse/eclipse.ini 
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-XX:PermSize=2G
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=4G
-Xms4G
-Xmx8G

Thank you in advance, any help is very much appreciated

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top