varovas Posted November 30, 2016 Share Posted November 30, 2016 (edited) Hi guys, I have an memory limit issue, and I cannot resolve it. What I have done: 1. Asked my hosting provider to make memory_limit to 256M.2. Added "ini_set('memory_limit', '256M')" to config/config.inc.php. 3. Modified classes/Tools.php getMemoryLimit method by commenting "$memory_limit = @ini_get('memory_limit');" and added "$memory_limit = '256M'" instead. This made memory limit warning disappear. But then when I go to Catalog->Products, I get "Page could not be loaded" error; Interesting fact, here's screen from Configuration information: And this is screen from phpinfo(): Why memory limit is different in Configuration information? Edited November 30, 2016 by varovas (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted December 1, 2016 Share Posted December 1, 2016 Try adding ini_set('memory_limit', '-1') in config/config.inc.php and check if it helps. Link to comment Share on other sites More sharing options...
varovas Posted December 1, 2016 Author Share Posted December 1, 2016 It didn't help. Any other ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now