Replies: 9 comments
-
I did index aosp in past with minor modifications, using JAVA_OPTS you can always up this look at tuning guide: I also had to setup some ignore patterns, alas I don't have them anymore and they are obsolete by now anyways ... give it a shot using tuning guide, it will work |
Beta Was this translation helpful? Give feedback.
-
I would still consider this as a bug. The indexing should scale no matter
the code size. Maybe the only exception would be number of threads w.r.t.
heap size.
Dne čt 19. 4. 2018 8:43 uživatel Lubos Kosco <[email protected]>
napsal:
… I did index aosp in past with minor modifications, using JAVA_OPTS you can
always up this
https://github.com/oracle/opengrok/blob/master/OpenGrok#L379
look at tuning guide:
https://github.com/oracle/opengrok/wiki/Tuning-for-large-code-bases
I think what is in tuning guide is the lowest
I also had to setup some ignore patterns, alas I don't have them anymore
and they are obsolete by now anyways ...
give it a shot using tuning guide, it will work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2074 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACzGDHXo969YsmjnAlrLmfW7bSO4yr8jks5tqDIAgaJpZM4TbArn>
.
|
Beta Was this translation helpful? Give feedback.
-
Maybe you can try to reduce the parallelism (via the |
Beta Was this translation helpful? Give feedback.
-
well you're right Vlada, |
Beta Was this translation helpful? Give feedback.
-
Well I’m not clear from the report if @kneep has raised the Java heap max from the default 2GB. E.g. I have a 32GB test machine, but I cannot index the set of repos I care about without raising the heap to 10GB. |
Beta Was this translation helpful? Give feedback.
-
well Idea starts at 756MB of ram and I was puzzled it could index big (java,scala) repos with ASTs, huge jar dependencies etc. @kneep would you be able to figure out what files are open/indexed when the indexer crashes? (from logs?) |
Beta Was this translation helpful? Give feedback.
-
I'm getting these with -Xmx12g on some repos. |
Beta Was this translation helpful? Give feedback.
-
One of the repos has a 519M .json file, could that be related? |
Beta Was this translation helpful? Give feedback.
-
Could well be. Try to put the file into ignored list and see what will happen. |
Beta Was this translation helpful? Give feedback.
-
Hello.
I got OutOfMemoryError on a computer with 20GB RAM and Ubuntu 17.10.
OS: Ubuntu 17.10.
Opengrok: 1.1-rc23
Java: OpenJDK 8
Tomcat: 8
BTW, is there any guide for indexing large projects like AOSP?
Beta Was this translation helpful? Give feedback.
All reactions