Search code examples
magentodiskspace

Why Magento is taking huge disk space


My magento store is taking huge disk space and it has exceeded 7.5 GB disk space. I have over 12k products.

I have done following but it has not made any significant effect

  • Clear all database cache table
  • Removed files under var/media/import
  • Cleared var/cache
  • Removed files under var/log and var/reports

Solution

  • It's ok because with 12k products you have 12k of images at least. if average of the image of your product is 200kb, so you might be consume 2.4GB for only your product image. Check your this directory

    magento/media/*
    

    that one have many uncompressed images from your products.

    you should

    • Minify all images to compress your large disk space used. try jpegmini.com
    • Minify the js and css that never be updated recently. to get the faster performance also to your website.