mnich209 Posted October 14, 2016 Share Posted October 14, 2016 Hello, I have a problem with combinations for product (Products -> Choose my product -> combinations -> Product Combinations Generator) I choose more than 4-5 combinations and i get error 503 or Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in [..]/controllers/admin/AdminAttributeGeneratorController.php on line 86. In my php_info(); i see 2GB of memory. I try to change memory_limit by ini_set('memory_limit', '1024M'); in config.php, defines.inc.php, index.php, adm/index.php, controllers/admin/AdminAttributeGeneratorController.php but it doesnt resolve my problem. Have anybody this problem ? Link to comment Share on other sites More sharing options...
musicmaster Posted October 14, 2016 Share Posted October 14, 2016 What do you mean with 4 or 5 combinations? If you have attribute1 with 100 options, attribute2 with 100 options, attribute3 with 100 options, attribute4 with 100 options, then there is a total of 100,000,000 possible combinations. Such situations often lead to problems, although it is usually a white screen due to a timeout. Link to comment Share on other sites More sharing options...
mnich209 Posted October 14, 2016 Author Share Posted October 14, 2016 Hi, All of atributes have max 5 options, so when i add 25 combinations, i got the memory error. Do you know how to increase memory limit in prestashop ? Link to comment Share on other sites More sharing options...
Mrs Maggot Posted November 3, 2017 Share Posted November 3, 2017 I know this is an old topic, but I am getting 500 error, I have set up several attributes each with options, colour t shirt 6 options t shirt sizes 8 options colour of printing 6 options when I try to generate the options it just stalls, and will not make them, once it made them but with no qty, so when i ticked them all, and put qty 10 it fell over completely. can someone walk me through a way of making 1 template up to use my 3 attribute groups without it falling over, if this is a memory issue is there any way this can be increased. thank you Link to comment Share on other sites More sharing options...
musicmaster Posted November 4, 2017 Share Posted November 4, 2017 Did you switch on debug mode in defines.inc.php? Link to comment Share on other sites More sharing options...
Mrs Maggot Posted November 4, 2017 Share Posted November 4, 2017 Thank you, I am not too sure what that is or where it is found, so I have let my friend know who helps me. Link to comment Share on other sites More sharing options...
Mrs Maggot Posted November 6, 2017 Share Posted November 6, 2017 On 04/11/2017 at 11:35 AM, musicmaster said: Did you switch on debug mode in defines.inc.php? Do you mean, it needs to be on ? - ours is off, as it uses more memory for that? and that seems to be what we are short of. 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