Hello Team,
Long back, I have installed AEM author instance in my local. Did local setup of AEM project. I was not installing many asset packages or content packages. It was limited. After few months, Author instance size was around 95GB. Then, I have deleted entire crx-quickstart folder. Re-installed the necessary packages. Size was around 4GB. Able to run my application.
Now, after a month, size is 25GB. Is there any way to delete the unwatned folders, files without deleteing the entire crx-quickstart folder?
Note: logs, threaddumps folder size is not more than 100MB.
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
In my past experience, I have found the following methods helpful for minimizing instance size, resulting in significant reductions since the first execution:
- Run Offline Revision Cleanup. You can check out my article where I provide an automation script for this process.
- Additionally, outdated package versions can clutter the instance with unnecessary files. Take a look inside the /etc/package directory. I believe you'll find the highest number of packages under the package group related to the project you're working on. Each time a new version is installed, the previous one is kept, so space can become cluttered very quickly if multiple versions are installed. After some manual cleanup you can also execute again the Offline Revision Cleanup to see good results.
Hi @Mahesh_Gunaje,
You can try to run online and/or offline Revision Cleanup. But you will need to do this frequently.
Please check following documentation, for all the details:
In my past experience, I have found the following methods helpful for minimizing instance size, resulting in significant reductions since the first execution:
- Run Offline Revision Cleanup. You can check out my article where I provide an automation script for this process.
- Additionally, outdated package versions can clutter the instance with unnecessary files. Take a look inside the /etc/package directory. I believe you'll find the highest number of packages under the package group related to the project you're working on. Each time a new version is installed, the previous one is kept, so space can become cluttered very quickly if multiple versions are installed. After some manual cleanup you can also execute again the Offline Revision Cleanup to see good results.
In local, I am using AEM Cloud SDK. So, above steps will work for this instance?
Thanks
Views
Replies
Total Likes
Yes, they will. Please be careful to choose the correct version of the oak jar that matches the "OAK Core" bundle to execute the script.
On my AEMasCS, with the script I gained only 100 MB of space, but it was already very small in the beginning with a total size of 2.7 GB.