Try our conversational search powered by Generative AI!

Throw System Out of Memory Exception when objects to Index is 19405


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?


Apr 07, 2015 17:21

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).


Apr 10, 2015 12:35
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.