Quasilinear Thoughts

- A developer's log book.

Published on

How to run offline compaction in AEM on Windows


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:

  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

Comments are closed but If you want to respond, please send me a message over WhatsApp or facebook or tweet or send email.


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.