Hi
I have this search content functionality which searches the content with images on a product my issue is there are times that the content load so slow that causes heap memory issue is there any configuration to prevent too much loading time in the OSGI configuration and also set default number of result content?
Best Regards
Solved! Go to Solution.
Views
Replies
Total Likes
@Farnsbert You can use limit query and pagination logic if the results are too large. You could have a custom OSGI configuartion to set the limit value for the query used.
Not sure what exactly is the use case here, but hope this helps.
@Farnsbert You can use limit query and pagination logic if the results are too large. You could have a custom OSGI configuartion to set the limit value for the query used.
Not sure what exactly is the use case here, but hope this helps.
Slow queries could be due to following reasons :
You can examine your query in Query performance tool in AEM. It will guide you if your query is using any index or not with other details. Path for same is /libs/granite/operations/content/diagnosistools/queryPerformance.html
Link for troubleshooting slow queries : https://experienceleague.adobe.com/docs/experience-manager-65/developing/bestpractices/troubleshooti...