-
Version:
Index command:
When I index a large size source code (AOSP-Android10), it takes almost 24 hours to complete. Example Log:
Question 1: The index time: 24 hours, is this normal index time? Question 2: Is there any solution to speed up the AOSP indexing time? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
Thanks to the indexer being heavily parallelized, the indexing time depends very much on the underlying hardware and the resources assigned to the indexer's JVM. Some pieces of advice:
Also check out https://github.com/oracle/opengrok/wiki/Tuning-for-large-code-bases |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. We need to index more than 60 items.From android 7 to android 12.It still takes a long time without new projects |
Beta Was this translation helpful? Give feedback.
-
Another improvement for AOSP indexing is being done in PR #4552. This is for a specific set of settings (renamed file handling on, annotation cache on) however might speed up general AOSP reindex time. |
Beta Was this translation helpful? Give feedback.
Thanks to the indexer being heavily parallelized, the indexing time depends very much on the underlying hardware and the resources assigned to the indexer's JVM.
Some pieces of advice:
Also check out https://github.com/oracle/opengrok/wiki/Tuning-for-large-code-bases