Is your AEM repository size increasing rapidly? Follow the step by step guide below to perform offline tar compaction in aem.
Prerequisite : Download the correct version of oak jar that matches with your aem repository version.
How to find correct version of oak-run jar?
Goto Felix console.
Search for oak.
Check the version of each oak bundle.
Now go to MVN Repository and download respective oak-run.jar file.
Steps to run offline compaction:
- Shutdown AEM Instance
- Navigate to oak jar location.
- Run the following command on command prompt.
java -jar oakrun.jar compact install-folder/crx-quickstart/repository/segmentstore