• Resolved DickRaney

    (@dickraney)


    I am seeing a lot of these errors in my logs:

    AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1294336 bytes) in /var/www/vhosts/mydomain.net/httpdocs/wp-content/plugins/autoptimize/classes/autoptimizeStyles.php on line 902'

    In my PHP settings, I have just doubled the memory_limit. That may help, but I wanted to see what you thought might be causing it?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    autoptimizeStyles.php at that point it trying to source @import’ed files, so what you could try is disabling CSS aggregation, but memory size issues are very hard to troubleshoot; the file mentioned (in this case AO’s CSS optimizer) is just the straw that breaks the camel’s back, something else might be using a lot more memory then AO is at that point.

    hope this helps,
    frank

    Thread Starter DickRaney

    (@dickraney)

    I increased memory_limit from 128M to 256M and am not seeing the errors now, so I will watch and see if that fixed it.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Fatal error: Allowed memory size exhausted’ is closed to new replies.