tumil Posted October 17, 2017 Share Posted October 17, 2017 Hi, I have barely set up my new store on 1.7 and now when I'm trying to add a product I face such an error: OutOfMemoryException in Category.php line 1467: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) I tried to set memory limit in user.ini and htaccess files to 256M but it didn't help. There's no such problem on my other stores on 1.6 Link to comment Share on other sites More sharing options...
DJPhill Posted May 4, 2018 Share Posted May 4, 2018 Same trouble Link to comment Share on other sites More sharing options...
bellini13 Posted May 7, 2018 Share Posted May 7, 2018 On 10/17/2017 at 1:16 PM, tumil said: I tried to set memory limit in user.ini and htaccess files to 256M but it didn't help. It didn't help... as in it did not increase your memory to 256M? Or you also ran out of memory? If you also ran out of memory, then you would have received a new error message... if that is the case, provide what the new error message is so we can confirm that you did in fact update the memory properly. Link to comment Share on other sites More sharing options...
klimat Posted August 1, 2018 Share Posted August 1, 2018 Hello did you solve your Problem ? I have the same problem. thanx Link to comment Share on other sites More sharing options...
klimat Posted August 1, 2018 Share Posted August 1, 2018 If u can give me some advice would be fine. thanks Link to comment Share on other sites More sharing options...
tumil Posted August 1, 2018 Author Share Posted August 1, 2018 Yeah, I have added php_value memory_limit 400M to my .htaccess file and everything works fine now Link to comment Share on other sites More sharing options...
ksaan Posted August 1, 2018 Share Posted August 1, 2018 On 17/10/2017 at 7:16 PM, tumil said: I tried to set memory limit in user.ini and htaccess files to 256M but it didn't help. On some hosting environments, there are php settings that are overriden. You should ask your hosting provider how he would recommend changing the memory limit. You can also report the bug to prestashop reporting tool http://forge.prestashop.com/ so that they can help you Link to comment Share on other sites More sharing options...
arisbjk03 Posted October 6, 2021 Share Posted October 6, 2021 php_value memory_limit 400M bunu yapınca düzeldi teşekkürler. Link to comment Share on other sites More sharing options...
manvoe Posted October 8, 2021 Share Posted October 8, 2021 On 10/17/2017 at 8:16 PM, tumil said: Hi, I have barely set up my new store on 1.7 and now when I'm trying to add a product I face such an error: OutOfMemoryException in Category.php line 1467: Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes) I tried to set memory limit in user.ini and htaccess files to 256M but it didn't help. There's no such problem on my other stores on 1.6 Same trouble huh https://service-pharmaceutique.com/amoxil Link to comment Share on other sites More sharing options...
Albertf12 Posted February 16, 2022 Share Posted February 16, 2022 On 8/1/2018 at 9:19 AM, tumil said: Yeah, I have added php_value memory_limit 400M to my .htaccess file and everything works fine now Hello where to you put in this rule on what linenumber Kind regards, Albert Link to comment Share on other sites More sharing options...
Zohaib-fk Posted August 25, 2022 Share Posted August 25, 2022 Thanks for sharing. It works. Need to add the below in the htaccess end of the file. Below value changes as per server values. php_value upload_max_filesize 512M php_value post_max_size 512M php_value memory_limit 1024M php_value max_input_time 18000 php_value max_execution_time 1800 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