Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Compiled AEM User permissions filling up the heap quickly moving to the old gen heap space

Avatar

Level 4

When AEM users login, the compiled permissions are taking a lot of the heap space and are moving directly to the old gen heap space ? On inspection I notice that each of the PrincipalPermissionsEntry is holding a lot of references to the jcr nodes that these nodes that are not related to the PrincipalPermissionsEntry as well. Can this behavior be explained and is there a way AEM allows control over these compiled permissions so we can reduce the overhead of these huge permissions entries that are being composed ? There is a no documentation as to how this works and what are the best practices on the compiled user permissions ?

Attached below is a heap dump that is showing these compiled permission entries

 

B_Rudra_1-1649419349839.pngB_Rudra_2-1649419374114.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Seek_AEM,

I would recommend involving Adobe here. They can help faster.



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Seek_AEM,

I would recommend involving Adobe here. They can help faster.



Arun Patidar

Avatar

Administrator

This needs debugging. Please create a support ticket for this.



Kautuk Sahni