On 12.12.2012 12:36, Nimesh Chanchani wrote:
i'm indexing android source code which is huge!!

where can I get it from?
I can try to reproduce with latest trunk (am curious if my latest lucene changes will speed things up and save memory ... )



i'm using the following command:

java -Xmx1300m -jar opengrok.jar -W C:\nimesh\opengrok\opengrok-0.11.1\configuration.xml -c C:\nimesh\opengrok\ctags58\ctags.exe -P -S -z100-v -s C:\nimesh\opengrok\src -d C:\nimesh\opengrok\opengrok-0.11.1\grok-tmp3

I think we default to 2GB of memory for mx ... so you might try to increase that to 2G


but i still get a Null pointer exception.

more info would be nice, like which class throws it to see whether it's an analyzer problem or something with lucene ...



if i omit the -Xmx1300m argument, opengrok hangs after running for about 8 hrs. Is there a solution?

can i do it incrementally without repeating a previous indexing?

yes, that should be a workaround, OpenGrok flushes the index from time to time (wondering if latest trunk does it too, need to recheck)

xing the fingers
L





_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to