Re: Determine memory used from script
| From: | Chris Edwards | Date: | Thu, 05 Jun 2003 13:33:23 +0000 |
| Subject: | Re: Determine memory used from script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150352@lists.php.net to get a copy of this message | ||
If your using an array, how big is it, what's it's dimensions?
--
Chris Edwards
Web Application Developer
Outer Banks Internet, Inc.
252-441-6698
chris.edwards@obinet.com
http://www.OuterBanksInternet.com
----- Original Message -----
From: "Shawn McKenzie" <nospam@mckenzies.net>
To: <php-general@lists.php.net>
Sent: Thursday, June 05, 2003 8:45 AM
Subject: [PHP] Determine memory used from script
> Is there a way to determine the amount of memory that a script is
consuming
> at a certain point? Maybe a function that would return this?
>
> The reason is, I get this:
>
> Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> allocate 46080 bytes) in
/home/httpd/vhosts/aaa/httpdocs/bbb/ccc/script.php
> on line 20
>
> I know why I get the error but would like to know when and why my script
is
> consuming so much.
>
> Thanks!
> Shawn
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>