Hi Behzad,
----
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube
Ltd., and
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend
Technologies
with Zend Optimizer v3.2.8, Copyright (c) 1998-2007, by Zend Technologies
----
I think you should disable first your additional extensions.
I can remember that there was an issue with Zend Optimizer an memory …
-- Marco Kaiser
From: Behzad [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 13, 2008 4:03 PM
To: Thomas Weidner
Cc: fw-general Zend Framework
Subject: Re: [fw-general] Fatal Error: Out of memory
I have no idea why only 4 MB is allocated !
In the php.ini settings, I've set 32 MB for memory_limit directive.
Take a look at my php-settings here: http://www.2tarafeh.com/phpinfo.php
On Thu, Nov 13, 2008 at 6:25 PM, Thomas Weidner <[EMAIL PROTECTED]> wrote:
Do you really think that an complete application should run with 4MB RAM ???
(allocated 4718592 byte = 4.4MB)
Most procedural or plain php sites need more. ;-)
Default setting from PHP itself is actually about 16 or 32 MB.
But how much memory ZF uses depends on your own needs.
I would go with the default settings from php. :-)
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message ----- From: "Behzad" <[EMAIL PROTECTED]>
To: "fw-general Zend Framework" <[email protected]>
Sent: Thursday, November 13, 2008 3:46 PM
Subject: [fw-general] Fatal Error: Out of memory
*Hi List,
I've uploaded a ZF-driven website to www.2tarafeh.com , But I'm facing with
some fatal errors, for instance:
*Fatal error: Out of memory (allocated 3670016) (tried to allocate 19456
bytes) in /home/admin/library/Zend/Form.php on line 1097
Fatal error: Out of memory (allocated 4718592) (tried to allocate 19456
bytes) in /home/admin/library/Doctrine/Doctrine/Record/Abstract.php on line
295
Fatal error: Out of memory (allocated 4194304) (tried to allocate 4864
bytes) in /home/admin/library/Zend/Filter/Word/CamelCaseToDash.php on line
40
*
I know that OO code requires more memory than procedural code, but how much
memory is needed indeed?
How can I prevent these errors? What's the problem? How much memory is
needed for ZF-driven website?
What is the recommended php.ini settings here?
*Thank you in advance.
-Behzad
--
Kind regards,
-behzad