Re: PHP on 64bit Ubuntu

From: Date: Wed, 03 Sep 2008 15:25:42 +0000
Subject: Re: PHP on 64bit Ubuntu
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-279404@lists.php.net to get a copy of this message
On Wed, 2008-09-03 at 16:32 +0200, Aschwin Wesselius wrote: > Robert Cummings wrote: > > On Wed, 2008-09-03 at 15:42 +0200, Per Jessen wrote: > > > >> alexander lind wrote: > >> > >> > >>> I just tested my PHP app on Ubuntu 64bit, and found that all my php > >>> 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? > >>> > >> All pointers are twice the size, same goes for the runtime stack. > >> > > > > 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. Actually... 2 square meters is exactly twice 1 square meter. I think you had another analogy in mind, but then I'd would get you on switching dimensions. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP

« previous php.general (#279404) next »