Increased memory on 2.5 with smart class params

Hey,

I was trying to help a user with increased memory after upgrade to 2.5 and we looked into typical offenders like NICs or facts. But recent patches did not solve the problem, it looks like there are hosts with many (900) puppet smart class params overrides:

https://projects.theforeman.org/issues/33585

Can someone familiar with the codebase look into this? There might be a memory leak introduced recently. Thanks!

Not even the patch for settings https://github.com/theforeman/foreman/pull/8834 helped there?
I’m not sure if this was released in 2.5.

I am the user in question with the memory usage problem - and no, I applied that patch but it had no effect on memory usage in my environment.

Any other ideas? Anyone?

I wonder if this post is related: