Memory useage
| From: | Nold, Mark | Date: | Tue, 05 Dec 2000 04:26:54 +0000 |
| Subject: | Memory useage | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28682@lists.php.net to get a copy of this message | ||
----------------------------------------------------------------------------
-----------------
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are not the intended
recipient you are hereby notified that any perusal, use, distribution,
copying or disclosure is strictly prohibited. If you have received this
email in error please immediately advise us by return email at
postmaster@normandy.com.au and delete the email document without making a
copy.
----------------------------------------------------------------------------
-----------------
Hi,
Im setting up some general debuging / performance monitoring routines and
what i'd like to do is while through all the global variables via $GLOBALS
array and know how much memory they each take up in bytes. Any ideas on how
to do this? (We have some huge vars as 2D arrays representing 1000's of rows
of data sometimes)
mn
Mark Nold
markn@enspace.com <mailto:markn@enspace.com>
Senior Consultant
Change is inevitable, except from vending machines.