Re: Memory usage very high under AMD64?
| From: | Ed W | Date: | Wed, 02 Apr 2008 20:44:05 +0000 |
| Subject: | Re: Memory usage very high under AMD64? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272463@lists.php.net to get a copy of this message | ||
45MB x2 is a lot less than 215MB...
Also, I would expect the actual consumption to be less than 2x since not all the data will be doubled in size..?
Any other suggestions on how to debug this 5x jump in memory usage?
Thanks
Ed W
Robert Cummings wrote:
64 bit integers are twice as big as 32 bit integers. Cheers, Rob. On Wed, 2008-04-02 at 20:16 +0100, Ed W wrote:Hi I am trying to figure out expected memory usage of PHP Under my 32bit install Apache 2 processes are drawing around 45MB virtual and 25MB RSS. (XCache enabled) However, under 64bit, same PHP and Apache versions, FastCGI is consuming around 110MB virt and 25MB RSS. However, Apache2 processes are consuming around 215MB virt and 20MB RSS Can anyone please help debug why the virtual consumption is so high? Actually the RSS numbers look fine - it's the vsz numbers that I am trying to understand why so high? Thanks Ed W