We are using Magento 2 for our website. We have used Bluehost with 2GB RAM, 5TB Memory. Bluehost called me yesterday to change the server because of the huge bandwith. We have currently 1000 products in our website. And we need to add 5000 products in future. Server team told us to check the website for taking huge bandwidth. We planned to check the website in local system(Ubuntu 17.10 8GB RAM, 1TB Memory).
Allocated memory size was exhausted when we run website in local system(Ubuntu 17.10). We changed the memory_limit, phpuploadsize, postmaxsize to -1. But this time system getting hanged when we run website and execute any magento ssh commands reindex, cache flush, clean commands.
What is the main reason for this cause? How do i check it?