5ummer5 Posted March 30, 2013 Share Posted March 30, 2013 Hi All of a sudden my prestashop site has gone down. I can access the back office fine but NOT the front at all! I have spoken to the host who have said that the objectmodel.php file is causing the server to hit the PHP memory limit which is currently at 512MB!!! Has anyone come across this before? I am in desperate need of help as I am losing money every hour the site is down! Thanks anyone for any help! Link to comment Share on other sites More sharing options...
Whispar1 Posted March 30, 2013 Share Posted March 30, 2013 (edited) Are you able to change memory limits? In php.ini try doubling it (if the host allows): memory_limit = 1024M ; Edited March 30, 2013 by Whispar1 (see edit history) Link to comment Share on other sites More sharing options...
5ummer5 Posted April 1, 2013 Author Share Posted April 1, 2013 Nope, that still didn't work and now my hosting company have disabled the website because of PHP usage! Link to comment Share on other sites More sharing options...
bellini13 Posted April 2, 2013 Share Posted April 2, 2013 You could try to find a new host that will allow you to exceed the 512 limit, however you should provide some more details about your site usage. How many visitors does your store get each day/hour? What version of PS are you using? Are you using any custom modules or themes? If so, have you tried to disable them to see if they are causing high memory usage? Link to comment Share on other sites More sharing options...
5ummer5 Posted April 2, 2013 Author Share Posted April 2, 2013 I have now migrated the website away from the VERY unhelpful host to another. At the moment I get around 100 per day using version 1.5.3. There is a custom theme that I am using (with custom modules) but I didnt have the chance to test much before the host just disabled everything without warning! Once it is up and the DNS has refreshed on the new host I will begin test and see what the potential issue may be. Thanks for the help. Link to comment Share on other sites More sharing options...
bellini13 Posted April 2, 2013 Share Posted April 2, 2013 good luck with the new host. I don't see 100 visits per day generating enough load, to say the issue is related to a performance issue. Since the issue is with the object model class, which is used to connect the objects (customers, orders, carts etc..) to the database, your issue could be a poorly configured mysql database, or a poorly written object class. it is difficult to tell without some additional debug to see what is going on, and which queries are being executed. Let's see if the move to a new host helps and take it from there. Link to comment Share on other sites More sharing options...
NemoPS Posted April 2, 2013 Share Posted April 2, 2013 It's a bottleneck for sure, even with many products it should not exceed 512 megs. have you noticed this right after installing a certain module, changing anything? Link to comment Share on other sites More sharing options...
duby2008 Posted June 5, 2013 Share Posted June 5, 2013 Hi, I too fails memory limit ObjectModel class. I have not changed any of the installation, until two days work. The customer only has gotten a couple of products since then, there are only a total of 10!. Prestashop version is 1.5.3.1. Thanks and regards. 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