AEM offline compaction

Use case : When AEM repository size is growing rapidly

Solution :

  1.  Create compact folder under under \crx-quickstart\repository\segemnetstore
  2. download the oak-run-1.2.2.jar file and place under compact folder created in step1
  3. create offcompact.bat file with the below code
         java -jar oak-run-1.2.2.jar compact \crx-quickstart\repository\segemnetstore
      place this .Bat file under compact folder created in step1.