| Summary: | Problem with fast indexing on a very big projects | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Yevgeny Shifrin <yevshif> |
| Component: | cdt-indexer | Assignee: | Project Inbox <cdt-indexer-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | major | ||
| Priority: | P3 | CC: | Lee.Machnay |
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Yevgeny Shifrin
Hi, I made the following test trying to find what could cause this issue: * In specific file which has this problem I did "choosing the file" -> "Index" -> "Create Parser Log". * I made "Freshen All Files" on this file which solved Call Hierarchy problem. * I activated "Create Parser Log" on this file again (after the Call Hierarchy problem solved). * I compared two created log files hoping to see some difference which could give a clue of what causes this problem. Unfortunately the files were identical except one line "__TIME__="..." There is one configuration difference between the full indexed project and fast indexed project. Fast indexed project has default configuration in context of "Cache limits". In the full indexer project I changed it to: * Limit relative to heap size (Index database cache): 20% * Absolute Limit (Index database cache): 1024 MB * Absolute Limit (Header file cache ...) : 1024 MB Maybe default configuration is not enough for big project (~30k). Thanks, Yevgeny As you write the example works fine. Hi Markus, As I wrote I could not reproduce it on small testcase. But the problem does exist in many cases, on all CDT 6 Eclipse installations. Could this be related to cache configuration differences? I would appreciate any suggestions from your side. Thanks, Yevgeny (In reply to comment #3) You can either debug the problem yourself or make it reproducable (for others). Until then the bug report is useless. (In reply to comment #3) > .... Could this be related > to cache configuration differences? I would appreciate any suggestions from > your side. The cache only affects the performance. Hi, Since I opened this bug, I am working in other company developing in C. The code is much smaller few K files and I still see that after index "rebuild" there many issues that are solved after I invoke "freshen all" files. This issue also was mentioned in http://dev.eclipse.org/mhonarc/lists/cdt-dev/msg25301.html. Thanks, Yevgeny |