Hi. I just had the same problem. For some reason, one time instead of prompting to download I got this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 4096 bytes) in {my website’s directory}/wp-includes/functions.php
After some googling, I decided to add this to my .htaccess file:
php_value memory_limit 16M
This seems to have worked, but I’m not satisfied with the solution. Here’s what I *do* know:
1. This is not a client-machine-specific problem.
2. This is not a server problem (I have another wordpress installation on the same server with a much larger blog that has no problems, same exact wordpress version 2.0.4).
3. There is nothing wrong with edit.php or functions.php – I reuploaded fresh versions and it didn’t fix the problem.
My suspicions is that something is gobbling up memory when you click on edit.php. It could be:
1. An errant plugin (but my tests thus far have been inconclusive)
2. Something wrong with the wordpress database
The latter is most likely at this point, but I have no idea how to diagnose this. I’ll let you know if I continue to have problems, but thus far the .htaccess trick seems to have worked.