Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 1:15 PM, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 12:02 PM, Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
from Ubunutus repository), consider re-configuring it manually to drop extensions you don't need. - If using Doctrine, always use its free() method to free up memory after you are done with each object. Alec On Sep 3, 2008, at 6:28 AM, alexander lind wrote: Hi All I just tested my PH

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 11:21 AM, Colin Guthrie wrote: Colin Guthrie wrote: Therefore, depending on your structures and how much use of pointers you use, the size will always be more, but should always be *less* than half. Erm, that should read "*less* than double." If you only ever user your

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 8:19 AM, Shawn McKenzie wrote: alexander lind wrote: Hi All 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

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 6:42 AM, 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

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 7:13 AM, Robert Cummings wrote: On Wed, 2008-09-03 at 14:52 +0100, Hélio Rocha wrote: But why does that happens? 64 bit systems use larger intgegers for accessing the stack and memory. This enables 64 bit systems to access more than the traditional 4.4 gig memory limit

[PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
Hi All 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 m