huge memory usage discrepancy between localhost and actual host |
[eluser]jbawarren[/eluser]
I have been troubleshooting a performance issue on my hosted server, and while I havent seemed to solve the problem, I did find a huge memory usage descrepancy between my localhost and actual host. My memory usage locally is: 676,428 bytes And on my server is: 2,265,732 bytes That's a huge difference! Is it common for there to be such a huge difference? Thanks,
[eluser]InsiteFX[/eluser]
Use CodeIgniter's Profiler to see what is going on. InsiteFX
[eluser]jbawarren[/eluser]
Thanks InsiteFX. That's exactly how I learned about the discrepancy. Have you seen this problem before?
[eluser]John_Betong[/eluser]
This difference has always puzzled me as well. I have ensured that the Profiler is not in use on both localhost and the server. Fortunately it is my locahost which uses more MBs. Code: // added following line to ./views/welcome_message.php
[eluser]jbawarren[/eluser]
Are you experiencing any performance issues? My site's slow and I'm wondering if this is the culprit - considering Codeigniters reputation of speed.
[eluser]John_Betong[/eluser]
I reckon your site is slow because not only is there a large number of images, some are quite large. Try: 1. browsing with Opera and turn the images off. 2. analyse with - http://tools.pingdom.com/ 3. analyse with - http://www.indeep76.com/ 3. analyse with - http://siteloadtest.com/ Also try Googling for "web page speed sprites".
[eluser]jbawarren[/eluser]
Thanks, but I've got like 2 or 3 images in the whole application. I'm really hoping that it's a server setting or a known issue of some sort. Any other ideas?
[eluser]John_Betong[/eluser]
Can you: 1. supply a link to your slow application 2. supply the Profiler details |
Welcome Guest, Not a member yet? Register Sign In |