Sometimes, the ancestors table gets out of synch and that can generate infinite loops when trying to generate the breadcrumbs or generating a page tree. This can lead to OutOfMemory and StackOverflow errors affecting the stability of Confluence.
We should be able to detect these loops and point the user to rebuild the ancestors table (or even rebuild it automatically).
If you are facing this kind of problems try Rebuilding the Ancestor Table.
- Disable tree macro (if eill make instance unusable in few minutes if enabled and loop exist)
- Find loop in db using
- Fix parent<->child relation
- Rebuild the Ancestor Table
- Enable tree macro