AEM - Ways to reduce repository size | Community
Skip to main content
brendanf9753525
Level 4
April 27, 2018
Solved

AEM - Ways to reduce repository size

  • April 27, 2018
  • 3 replies
  • 8343 views

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.

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?

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.

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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

3 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
April 30, 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

May 10, 2022

@joerghoh , the link you provided doesn't seem to be active anymore. Is there an updated link (I'm looking for AEM 6.5 specifically)? Thanks.

smacdonald2008
Level 10
April 30, 2018

Nice response Joerg!

brendanf9753525
Level 4
April 30, 2018

Thanks! That looks like exactly what I need.