Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 457
Mubashir Avatar asked Oct 20 '22 11:10

Mubashir


1 Answers

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.
like image 110
Josua Marcel C Avatar answered Oct 22 '22 20:10

Josua Marcel C