By Sjaak Koops on
28-6-2011 12:16
Recently I ran into a WSS environment containing over 2 million documents.
The problem here was that the crawler was not able to index all these documents.
In the crawl logs there were a lot of out-of-memory errors, while the server had 8Gb of internal memory which should be enough.
Searching for the source of this problem was that there were 10 sites with only 1 document library and with over 2 million documents …..
I decided to move the documents to folders to avoid the out-of-memory problems of the crawler.
To do this I used powershell.
Initially I started with the script from Chris Rumel fond here.
Since I could not get this working I stripped the script leaving the basics.
$WebURL = "http://siteURL";
$ListDisplayName = "Documents";
$ArchiveFolderName = "001";
function LoadWSSAssembly
{ ...
Read More »