Try our conversational search powered by Generative AI!

Out of memory exception

Vote:
 

Hello, i a have an issue with Episerver.Find , I have 4 catalgos each with 8000 variants 6000 products and 3 languages and i get the error:

Indexing job [My_Project] [content]: Reindexing completed.
ExecutionTime: 18minutes 30seconds
Number of content indexed: 45492
Number of content errors: 0
Number of batch errors: 10
An exception occured while indexing (Batch): Exception in ecf_CatalogEntry: (see log for more information) 
An exception occured while indexing (Batch): Exception of type 'System.OutOfMemoryException' was thrown. (see log for more information) 
An exception occured while indexing (Batch): Exception of type 'System.OutOfMemoryException' was thrown. (see log for more information) 
An exception occured while indexing (Batch): Error getting value from 'SearchPrice' on 'Castle.Proxies.GeneralItemContentProxy'. (see log for more information) 
An exception occured while fetching content. Exception in ecf_CatalogRelation: . If you are using PageTypeBuilder please make sure that you are using >= 1.3.1. (see log for more information) 
An exception occured while indexing (Batch): Exception of type 'System.OutOfMemoryException' was thrown. (see log for more information) 
An exception occured while fetching content. Exception of type 'System.OutOfMemoryException' was thrown.. If you are using PageTypeBuilder please make sure that you are using >= 1.3.1. (see log for more information) 
An exception occured while indexing (Batch): Exception of type 'System.OutOfMemoryException' was thrown. (see log for more information) 
An exception occured while fetching content. Exception of type 'System.OutOfMemoryException' was thrown.. If you are using PageTypeBuilder please make sure that you are using >= 1.3.1. (see log for more information) 
An exception occured while indexing (Batch): Activation error occurred while trying to get instance of type IContentRepository, key "" (see log for more information) 

Im kind anew to episerver find so i'm curious if its a limitation of find/ too many entries or bad code cause ibefore when we had only 1 catalog we never got this error.

thank  you, Andrei

#122090
May 26, 2015 15:55
Vote:
 

Hello Andrei,

This might happen if a site is hosted on IISExpress, if so please try to run it on a regular IIS. If you running into this issue on IIS, you can decrease the indexing batch size. This can be done by changing the value of EPiServer.Find.Cms.ContentIndexer.Instance.ContentBatchSize property, default value for it is 100.

#122369
Jun 01, 2015 13:45
Vote:
 

Thank you, ill try this and come back to you

#122398
Jun 02, 2015 8:25
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.