Re: [PHP] memory_get_usage()

2003-12-06 Thread Gerard Samuel
On Saturday 06 December 2003 01:41 pm, Gerard Samuel wrote: > According to the manual, my example says the script starts off with 22k > bytes, then end up with 1.3M bytes at the end. (Now thats scalable :P) > But seriously, has anyone seen anything like this? > Tried it on FreeBSD 4.9/php 4.3.4 >

[PHP] memory_get_usage()

2003-12-06 Thread Gerard Samuel
First time trying out this function, but the output doesnt make any sense to me. An example -> '; /* PHP CODE HERE WITH A BUNCH OF INCLUDES/CLASSES/SMARTY ETC */ echo memory_get_usage(); ?> Gives me -> 22408 1347416 According to the manual, my example says the script starts off with 22k bytes