* Thus wrote Oliver Hankeln ([EMAIL PROTECTED]): > Hi! > > I get memory exceded errors and want to find out why. So I am looking > for a way to determine how much memory is currently beeing used by my > script. Is this possible? > getPID + reading from /proc dosent work because php is an apache module. > (I canīt change this)
Its possible: http://us2.php.net/memory_get_usage You'll most likely need to recompile php with: --enable-memory-limit Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php