关于eclipse 的c/c++ indexer 耗尽内存卡死eclipse的矛盾,求解救
我的eclipse.ini配置如下:
1 -startup
2 plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
3 --launcher.library
4 plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807
5 -product
6 com.android.ide.eclipse.adt.package.adtproduct
7 -showsplash
8 org.eclipse.platform
9 --launcher.XXMaxPermSize
10 512m
11 --launcher.defaultAction
12 openFile
13 -vmargs
14 -Dosgi.requiredJavaVersion=1.6
15 -XX:MaxPermSize=2048m
16 -Xms512m
17 -Xmx2048m
如果打开c/c++ indexer 就会把eclipse搞挂,如果关闭,当选中一个函数要跳转的时候会提示Could not find symbol "XXX" in index,各位坛友是如何解决这个矛盾的?