eyeballtopia Posted October 5, 2015 Report Share Posted October 5, 2015 Hello all! I installed PHPvms and I added a .cvs file full of airports - 37,590 to be exact! I could add schedules and added 49, then suddenly I got this issue: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8968127 bytes) in /home/flyourwo/public_html/core/classes/CodonCache.class.php on line 202 How do I fix this and what is the problem? On line 202, it says the following: $value = serialize($value); Quote Link to comment Share on other sites More sharing options...
Moderators servetas Posted October 5, 2015 Moderators Report Share Posted October 5, 2015 I believe that this is due to the number of airports you have added on your system. You can either increase the memory limit through your server's settings or remove the airports which are not needed (probably you should have thousands of them ). Quote Link to comment Share on other sites More sharing options...
flyalaska Posted October 5, 2015 Report Share Posted October 5, 2015 Do you get this error anywhere else? It can also be that your allocated memory is set too low by your host. This happened to me in the past. Quote Link to comment Share on other sites More sharing options...
magicflyer Posted October 6, 2015 Report Share Posted October 6, 2015 Yeah, the airport count shouldn't be the issue. Most(if not all) charter modules come with a database of all the airports in the world. The issue is with a memory server limit. The default limit is 128M, which is what you're trying to exceed. If you're not familiar with PHP, do not modify your php.ini file! Contact your host, and ask them to up the memory limit in the php.ini file. 512M should be more than enough. Chances are if you try it again, at a different time of day it might work without needing to change the memory limit. Quote Link to comment Share on other sites More sharing options...
eyeballtopia Posted October 7, 2015 Author Report Share Posted October 7, 2015 I have contacted my host and they bumped it up for me and gave me a quick tutorial on how to fix it! But thanks for all your help! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.