I am using AEM 6.1 With SP2, my aem repository folder is increasing rapidly, I read on the tar compaction and tried them but I am unable to succeed.
For online i followed - https://helpx.adobe.com/experience-manager/kb/AEM_6_TarMK_Online_Compaction.html; installed hot fix for oak. then restarted my aem, I am getting Authentication Support Service missing , I checked console all bundles are active.
For offline I Used oak-run-1.2.11.jar and after running compacting step im getting error saying, SegmentNotFound Exception.
Compaction of TAR files:
1) Offline Compaction :
Download oak-run-*.jar from https://mvnrepository.com/artifact/org.apache.jackrabbit/oak-run, download the version same as the oak version you are using (Can be seen at right side of crx/de page).
Run Below commands,
This will cleanup redundant data from repository.
2) Online compaction: