On Sep 3, 2008, at 9:06 AM, Eno wrote: > > On Tue, 2 Sep 2008, alexander lind wrote: > >> I am testing out my Symfony 1.1 app (using doctrine for the ORM) on a >> 64bit Ubuntu 8.04 server machine. Its working nicely except for that >> the memory usage seems extreme. A single page with around 10 db >> queries served by Symfony uses up about 12 MB ram. >> >> On my macbook pro (which runs a 64bit OSX) the memory usage for the >> same exact page (with the same exact database) is only 2.5 MB. > > How are you measuring memory usage?
I used memory_get_usage() in the php script itself. > > > Do you know for sure that both machines are running 64bit PHP > libraries? The macbook one is compiled 32bit. That is one mistaken assumption I made here. The other was that it was fair to compare it to the stock ubuntu php anyway, which it wasn't (lots of different extensions etc). I just tested the set up with a 32 bit version of the ubuntu OS now, and the whole thing makes more sense in the light of that, as per my previous post. Thanks Alec --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
