문제

In one of my custom script a memory exhaust issue showing.so i did set memory_limit to -1 now it is working fine.But is this the good approach to do this or need to increase the size of memory_limit variable on server?

도움이 되었습니까?

해결책

As per memory management on server, we should increase the size of a memory_limit variable. because putting memory_limit = -1 in particular page is consuming to much cpu process as well it also impacts on website performance when user ratio is increased on site.

So my point of view it needs to change server variable.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top