I have 2 forms one my site. One works fine. However the other has just started giving an out of memory error when I click edit. It did this when my limit was set to 128MB. I upped it to 256MB, and I get the same error (just the allowed memory size is increased). I tried 512MB for fun... and same thing. Then when I set it to 1024MB I got a 500 internal server error. The form is reasonably large, around 35 elements, but it's not that large!

Here's an example of the error:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 8208 bytes) in /home/insightc/public_html/viajes/sites/all/modules/webform/webform.module on line 1358

Please let me know if there's anything I can do to help trace the issue.

Comments

adamf321’s picture

Status: Active » Closed (works as designed)

D'oh! I've just figured it out... the problem was caused by some custom code I had in hook_node_load()...