Re: Memory.

From: Date: Thu, 24 Apr 2003 08:15:39 +0000
Subject: Re: Memory.
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-1027@lists.php.net to get a copy of this message
> On Mon, 21 Apr 2003, Vegard Munthe wrote: > > > I've asked these questions a number of other places. It seems no-one > > really knows. So, even if this might not be the right list for these > > questions, I hope someone can bare with me and help answer a few > > questions, or direct me to someone or some doc that can. > > > > Questions: > > > > 1) Since there are no functions to tell the memory usage of variables and > > objects, is there a way to calculate memory usage of variables and > > objects? > > No, there is none. But there will be a function to show the total memory > usage in PHP 5 : memory_get_usage(). > As far as I can remember after that 28 trip by bus I backported memory_get_usage() from HEAD to the branch. So it will be available in 4.3.2 . Andrey

« previous php.internals (#1027) next »