Skip Navigation

[Closed] Increase memory limit

This support ticket is created 3 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 3 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1962923

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/.../wp-content/plugins/toolset-maps/includes/toolset-common-functions.php on line 1227

Need some more advice on this one.
Perhaps just some understanding of how the plugin works...
What could be causing this issue...
Ideas for how we can fix it without just endlessly increasing the memory allowance?

This error was hitting every two minutes (so probably everytime the map was being used).

#1962933

Sorry Shane, I looked away for a few mins, and didn't see your response. Now it's gone, so I don't know what you said.

#1962991

Alright, I found the response...

Here's what we have in the Toolset Debug...
"PHP":{"MemoryLimit":"2048M","UploadMax":"128M","PostMax":"64M","TimeLimit":"300","MaxInputVars":"1000"}},

Am I wrong in thinking this should be plenty?

#1963043

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Shawn,

Yes based on this line in the debug information your site should have plenty of memory.

However i've found that some hosts don't allow you to increase the memory limit, even though in wordpress you are requesting a higher limit, the server itself won't allow it.

Can you get in touch with your hosts and ask them to verify that the memory increase is possible. Also check to see i they can increase the memory limit for you on their end.

If the host isn't able to assist with this, please let me know and we can take it from there.

Thanks,
Shane

The topic ‘[Closed] Increase memory limit’ is closed to new replies.