Page 1 of 1

Error stumpin'

Posted: Mon Jan 30, 2006 2:29 pm
by dstefani
Hi,

I'm getting this error after a database update.

Code: Select all

Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 40 bytes)
Yet it's a very small amount of text that is being written to the table. The update works, it's after the write that I get this error.
There is another part of the script that does the same thing. All the other writes and updates work fine.

I've been googling this trying to find an answer, but I've been stumped so far.

Thanks,

dstefani

Posted: Mon Jan 30, 2006 2:41 pm
by feyd
your server's memory limit for any given process of php is 2MB of memory. You've exceeded that amount of memory. Start using unset() to clean out variables you aren't using anymore.