全部
我正在开发一款基于Zend框架的Web应用程序。我们在开发服务器上不断遇到内存不足的错误:
可允许的内存大小已耗尽(尝试了YYYY字节...)
我们不断提高记忆——在php.ini,但现在已超过1000兆克。 什么是正常记忆——有限价值? 营地/Zend有哪些通常的嫌疑人可以脱掉记忆? 我们正在使用Propel ORM。
感谢一切帮助!
Update I cannot reproduce this error in my windows environment. If I set memory_limit low (say 16M), I get the same error, but the "tried to allocate" amount is always something reasonable. For example: (tried to allocate 13344 bytes) If I set the memory very low on the (Fedora 9) server (such as 16M), I get the same thing. consistent, reasonable out of memory errors. However, even when the memory limit is set very high on our server (128M, for example), maybe once a week, I will get an crazy huge memory error: (tried to allocate 1846026201 bytes). I don t know if that might shed any more light onto what is going on. We are using propel 1.5. It sounds like the actual release is going to come out later this month, but it doesn t look like anyone else is having this problem with it anyway. I don t know that Propel is the problem. We are using Zend Server with php 5.2 on the Linux box, and 5.3 locally.
还有其他的想法吗?我已经提交了一张票来安装Linux服务器上的Xdebug。
谢谢 (xiè xiè)
- 休养