---
title: "How to conserve disk space in Magento"
source: "https://docs.nexcess.com/sites-stores/managed-magento/file-management/conserving-disk-space/"
description: "If you have a need to conserve disk space with regard to your Magento store, consider the list of safe candidates for deletion in this article — all of which ta…"
vertical: "Sites & Stores"
date: "2019-09-10"
last_modified: "2026-07-02"
---

# How to conserve disk space in Magento

If you have a need to conserve disk space in your Magento store, consider the below list of safe candidates for deletion, all of which take up large amounts of disk space.

Magento:

- /html/var/logs: If Magento is producing an error, this syntax will be written to the log file every time it occurs.
- This log file can fill up very quickly, and if you are aware of the issue, you can delete the contents safely.
- Database tables: Some tables within Magento are used to log visitors, and similar data. If you are not interested in keeping this data, consult [Magento database maintenance](https://www.liquidweb.com/magento/admin/database-maintenance-how-to/).
- Product Images: Magento creates redundant images, which require a large amount of space. Removing product images that you are not using any longer can help free unused space.
- SiteWorx backups: Consult [How to delete backups from SiteWorx](https://docs.nexcess.com/sites-stores/control-panel/interworx/siteworx/file-management/delete-backup-files/).
- IMAP emails 
    - The IMAP protocol stores emails on the server, rather than within your email client.
    - If you have a large amount of archived emails, or many emails with attachments, these do count against your disk quota. We recommend deleting or creating a backup of your old emails.
