AEM - Ways to reduce repository size

Avatar

Avatar

brendanf9753525

Avatar

brendanf9753525

brendanf9753525

27-04-2018

Hey All,

We had a question about our repository under the crx-quickstart folder. Our total folder is 26 GB and we're looking for ways to reduce it. Based on everything I've seen, I narrowed it down to a few times that are the culprits.

1475115_pastedImage_4.png

The segment store just has a bunch of .tar balls in it from when we first set up our dev server. Can I delete some of these? Or Should I keep all the .tar balls?

1475114_pastedImage_3.png

The datastore is by far our biggest folder. I was checking this out and from the AEM site itself, I deleted a bunch of sites and unused assets. So total on our site we have lets say ~5 sites with 10 pages and 20 images each. The datastore being so massive is confusing to me because when I check out the disk usage on our AEM server itself, it looks pretty small.

1475116_pastedImage_5.png

I've tried to run the oak-run jar file to compact all of our folders and it unfortunately didn't make it too much smaller.

Are there other ways I can reduce the size of our folders? We are trying to copy this to another server but don't want to use too much space.

Thanks

Brendan

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

891

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

891

Correct Answer

1.0K
Jörg_Hoh
Employee

30-04-2018

Please check the "AEM Maintenance" pages according to your AEM version. There is documentation how to reduce the amount of storage. For AEM 6.3 it's AEM 6.x Maintenance Guide  (other versions are linked from this page).

Specifically for your case you should check for "Oak Binary File Maintenance" a.k.a "Datastore Garbage Collection".

Regards,

Jörg

Answers (2)

Answers (2)

Avatar

Avatar

brendanf9753525

Avatar

brendanf9753525

brendanf9753525

30-04-2018

Thanks! That looks like exactly what I need.

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

30-04-2018

Nice response Joerg!