It's easy to check
http://www.php.net/manual/en/function.memory-get-peak-usage.php
http://www.php.net/manual/en/function.memory-get-peak-usage.php
Stick it at the end of index.php and you should get memory usage for every
page
Karol
A.J. Brown-3 wrote:
>
> Now I'm curious as to how much pea
If I remember correctly, a basic single action dispatch takes
approximately 4 to 5MB. Mind you, this includes a couple of Zend_Config
objects and some other goodies...
A.J. Brown wrote:
Now I'm curious as to how much peak memory the default "Hello World" install
consumes. Does someone know,
Now I'm curious as to how much peak memory the default "Hello World" install
consumes. Does someone know, or want to benchmark it? I'll write a benchmark
when I get home if I don't see a reply before then.
-- A.J. Brown
-- Original Message --
It's actually 128MB at least in recent version
It's actually 128MB at least in recent versions of php (php.ini-recommended).
So yeah, 4MB is a bit short :)
Karol
thomasW 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 mor
nal 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-g
-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:
d 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"
>
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"
Sent: Thursday, November 13, 2008 3:46 PM
Subject
*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) (t