<KG/>
Published on

How to run offline compaction in AEM on Windows

Authors

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.

    oak-version
  • Now go to MVN Repository and download respective oak-run.jar file.

Steps to run offline compaction:

  1. Shutdown AEM Instance
  2. Navigate to oak jar location.
  3. Run the following command on command prompt.
java -jar oakrun.jar compact install-folder/crx-quickstart/repository/segmentstore

Share

Khalil

Khalil Ganiga

Just another programmer.. This blog expresses my views of various technologies and scenarios I have come across in realtime.

Keep watching this space for more updates.