The client.Index method throws "System Out of Memory Exception" when objects to Index is 19405. We had to index every 5000 for a batch.
Do anybody know whether there is some limitations on the client.Index?
There is no limit in the client.index but in order to process a batch we need to load it into memory and if you have 'large pages' you might end up with using the entire memory on your server. To solve this simply reduce the batch size by setting ContentIndexer.Instance.ContentBatchSize = 100 (the default is 100 so please avoid increasing it as you might easily run into these problems or simply be rejected by our proxies as de maximum request size allowed is 50mb)./Henrik