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 [EMAIL PROTECTED] http://www.OuterBanksInternet.com
----- Original Message ----- From: "Shawn McKenzie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php