Not able to delete Asset in 6.3 AEM
Hi All,
In AEM 6.3 author, using assets console, https://<hostname>:<port>/assets.html/content/dam/xyz, when we are try to delete any image, its failing with error, “Failed to delete.”
And when we check in browser console, we are seeing the exception, POST https://<hostname>:<port>/bin/wcmcommand 500 (Server Error)
And if we expand the failing call, in the network tab, it shows below exception
The query read more than 500000 nodes in memory. To avoid running out of memory, processing was stopped.
Cannot serve request to /bin/wcmcommand in
com.day.cq.wcm.core.impl.commands.WCMCommandServlet
Exception:
java.lang.UnsupportedOperationException: The query read more than 500000 nodes in memory. To avoid running out of memory, processing was stopped.
Above exceptions suggests, we are missing some indexes, that’s why its reading/traversing more nodes, when we try to delete an image.
Could you please suggest, what index we should create, to resolve this issue?
Regards
Sreeni