Date | Commit message (Collapse) |
|
For certain repos, having too many active refs will cause
memory usage problems. Mitigate the Xapian problems, for
now, and consider a switch to GDBM_File or similar for
repos with more refs.
|
|
This simplifies the code a bit and reduces the translation
overhead for looking directly at data from tools shipped
with Xapian.
While we're at it, fix thread-all.t :)
|
|
It's extraordinarily expensive to add these terms for
each and every commit.
|
|
We need to flush Xapian more frequently to account for
gigantic commits which introduce lots of text, so do
it when accounting for each line processed, and not
for each commit processed.
|
|
Much more work on this will be needed, but at least explicit
flush points prevents OOMs on my system.
|