0
Welcome Guest! Login
0 items Join Now

SOLVED Fatal error: Allowed memory size exhausted

    • imagine4D's Avatar
    • imagine4D
    • Hero Rocketeer
    • Posts: 409
    • Thanks: 1
    • Project developer

    SOLVED Fatal error: Allowed memory size exhausted

    Posted 11 years 2 months ago
    • I am having this problem with multiple templates, which is why I've posted in the general section:

      I started having this problem yesterday with Hadron template:
      Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes) in /home/goglobal/public_html/libraries/gantry/core/utilities/gantrylesscompiler.class.php on line 326

      My PHP memory limit is set at 512 MB. Solution was to uninstall Gantry and then reinstall.

      Today, I am having the same problem with a Paradigm template on another site, goglobaljobs.com/index.php . My solution from yesterday (uninstall and reinstall Gantry) is not working.

      Searching through this forum, others who posted this issue were told to increase their PHP memory limit. Since mine is already set to 512 MB, I'm hoping someone might have another possible solution?
    • Last Edit: 11 years 2 months ago by imagine4D.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Fatal error: Allowed memory size exhausted

    Posted 11 years 2 months ago
    • So this Admin -> Site -> System Information -> PHP Information -> Core -> memory_limit
      is telling you that you have 512Mb of memory???
    • imagine4D's Avatar
    • imagine4D
    • Hero Rocketeer
    • Posts: 409
    • Thanks: 1
    • Project developer

    Re: SOLVED Fatal error: Allowed memory size exhausted

    Posted 11 years 2 months ago
    • That's correct, it shows 512M memory:


      This image is hidden for guests.
      Please log in or register to see it.
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: SOLVED Fatal error: Allowed memory size exhausted

    Posted 11 years 2 months ago
    • hi,

      i know this may sound weird, but have you tried 128M instead?

      kat :)
    • Kat05 / QA Lead & Support / Germany
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Fatal error: Allowed memory size exhausted

    Posted 11 years 2 months ago
    • Extract out the phpmemtest512M.php file to the root folder of your site and then run it -> goglobaljobs.com/phpmemtest512M.php
      This is a true Mem Test that will show your true available memory.

      If your using a php.ini file to set the memory_limit value, take care of how it's written:
      memory_limitONE white space=ONE white space128M;
    • imagine4D's Avatar
    • imagine4D
    • Hero Rocketeer
    • Posts: 409
    • Thanks: 1
    • Project developer

    Re: SOLVED Fatal error: Allowed memory size exhausted

    Posted 11 years 2 months ago
    • Thanks for both of you for your help. It turned out to be a phantom php.ini file that neither myself nor my developer uploaded, which was limiting the memory to 32MB.

      Solved!

Time to create page: 0.066 seconds