How to respond to the AEM publish server running out of space while executing performance/load tests.
Please ensure before making any changes, you take a proper back up of the instance to avoid losing data. For information, see Backup and Restore.
Perform the following steps if this problem occurs.
- Shut down the AEM server.
- Use the tool to find the old checkpoints: java -jar oak-run.jar checkpoints install-folder/crx-quickstart/repository/segmentstore.
- Then, delete the unreferenced checkpoints: java -jar oak-run.jar checkpoints install-folder/crx-quickstart/repository/segmentstore rm-unreferenced.
- Finally, run the compaction and wait for it to complete: java -jar oak-run.jar compact install-folder/crx-quickstart/repository/segmentstore.