Re: PHP on 64bit Ubuntu
| From: | Aschwin Wesselius | Date: | Wed, 03 Sep 2008 14:32:30 +0000 |
| Subject: | Re: PHP on 64bit Ubuntu | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-279397@lists.php.net to get a copy of this message | ||
Robert Cummings wrote:
On Wed, 2008-09-03 at 15:42 +0200, Per Jessen wrote:But he says it's 5 times the size :) Cheers, Rob. I don't get it that people still think 64-bit is twice the 'size' of 32-bit. It's like saying 2 square meters is 2 times a square meter, while actually it is 4 times a square meter. So, 64-bits don't just take twice the memory, it can take up much more than that. Like somebody else says, the integers take a lot of space, so beware of typecasting properly...... -- Aschwin Wesselius /'What you would like to be done to you, do that to the other....'/alexander lind wrote:All pointers are twice the size, same goes for the runtime stack.scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusing also runs a 64bit OS). A page that would take up around 2.5 MB on the macbook, takes around 12 MB on the linux server. Does anyone know what might be causing this?I just tested my PHP app on Ubuntu 64bit, and found that all my php