0
Welcome Guest! Login
0 items Join Now

SOLVED Fatal error: Allowed memory size of 33554432 bytes exhausted

  • SOLVED Fatal error: Allowed memory size of 33554432 bytes exhausted

    Posted 7 years 10 months ago
    • Hi Guys
      I've had to rebuild my VPS and restore from backups but having done that I'm now getting the frontend error message:
      Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 72 bytes) in /home/kedlestongroup/public_html/ourzone/libraries/gantry/core/utilities/gantrylesscompiler.class.php on line 3316
      The backend works fine.
      I've added super user login details in secure
      Thanks
      Bill
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 22306
    • Thanks: 3229
    • messin' with stuff

    Re: SOLVED Fatal error: Allowed memory size of 33554432 bytes exhausted

    Posted 7 years 10 months ago
    • you've got no memory... 32M it looks like... 128M is the minimum recommended... if you've got a VPS system with 2+ Gig of dedicated I'd say go at least 256M for PHP to run fat and happy (IMO)

      increase your PHP memory... either via php.ini on your site or at the server level
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: SOLVED Fatal error: Allowed memory size of 33554432 bytes exhausted

    Posted 7 years 10 months ago
    • Thanks Matt but I've already got php.ini as follows:

      memory_limit=512M
      upload_max_filesize = 200M
      post_max_size = 8M
      magic_quotes_gpc = Off
      magic_quotes_runtime = Off
      magic_quotes_sybase = Off

      Everything was working before the server rebuild and the only difference is we've gone from CentOS6 to Cent OS 7
  • Re: SOLVED Fatal error: Allowed memory size of 33554432 bytes exhausted

    Posted 7 years 10 months ago
    • CHeers Matt
      The answer was in the fact that the rebuild had given me EasyApache4 and had defaulted all settings to 32M
      Well worth noting for others,
      Bill

Time to create page: 0.063 seconds