Page does not completely load due to TooManyCallsException in AEM | AEM
Last updated on May 18, 2021 01:19:31 PM GMT
Loads the pages only partially. While loading the page, the TooManyCallsException error appears in the error log. It does not impact all the pages. It only impacts the pages with too many includes.
All AEM versions.
While loading a page, TooManyCallsException is thrown because there are too many includes within the page. As too many includes cause performance issues, the OSGi configuration has limited the number of includes in the SlingMainServlet. If a page requires numerous includes, then increase the property value.
- Open the OSGi configuration here .
- Increase the property Number of Calls per Request from 1500 to a high enough number until the exception disappears.