Open nh2 opened 12 years ago
@nh2 I wrote the "rehoo" utility to solve exactly this problem: http://hackage.haskell.org/package/rehoo
After installing, run: rehoo -j4 -c64 .
It must be run within Hoogle's databases
directory (the same directory which contains default.hoo
).
Fixed in the dev version, which can combine all packages in little memory and very quickly.
I used the combine bash script to combine all
.hoo
files into one, but it doesn't complete becausehoogle combine
on those 3000 files loads them all strictly into memory, and 8GB is not enough for it.Is it necessary for
combine
to load them all into memory or could we do it with lower/constant memory usage?This would be cool to finally get to a point where hoogle can index all of Hackage, or at least all of my locally installed packages.
(I also think that it should be made clear somewhere in the docs that this doesn't work yet.)