Hi,
Is there any way of taking a snapshot of the current memory usage of a
script?  I tried the getrusage() function, but the PHP version doesn't
seem to support all the options of the systems getrusage() system call.

What I would like to do is take a snapshot of the memory usage before and
after I make a call to a function, or create an object, so that I have an
idea of where memory is being used by the script.  Is this even possible
under PHP?

Any insight you can provide would be appreciated.
        -- Robert

-- 
  ------------------------------------------------------------------
    Robert James Kaes    ---  Flarenet Inc.  ---    (519) 426-3782
                       http://www.flarenet.com/
      * Putting the Service Back in Internet Service Provider *
  ------------------------------------------------------------------


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to