Netcentric / accesscontroltool

Rights and roles management for AEM made easy
Eclipse Public License 1.0
150 stars 92 forks source link

#648: switch to the regular toString for logging to prevent excessive memory usage #649

Closed otarsko closed 1 year ago

otarsko commented 1 year ago

Replace serialization of config from Yaml to regular toString.

Comparison of memory usage:

Before (OutOfMemory ons serialization)

Size 685,768,736 B

After (no OutOfMemory)

Size 1,572,864,032 B

Example of serialized config in the history

image
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

90.0% 90.0% Coverage
0.0% 0.0% Duplication

otarsko commented 1 year ago

@kwin that's without - testing of #647 is pending (and will be done on top of these changes)