Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Hi all,
i've been developing a website on localhost for about a month; i bought a shared hosting (safe mode - on) recently and uploaded to test it online. (Host Plan is a Linux hosting)
The list of components used in the website (Joomla 1.0.11) is: (mainly)
- Community Builder
- Clexus Private Messaging System
- Joomlaboard
- YaNC
- XeSlideGal
and reated a few modules.
When i uploaded the site and tried to sign in i get Fatal error: Allowed memory size of 8388608 bytes exhausted, i understood that the reserved memory is exceeded and further allocations failed, contacted my host (since safe_mode on i can't tune memory_limit via ini_set) and requested them to increase memory_limit; first they declined but accepted then. The previous amount was 6MB and they increased it to 8MB.
This way my problem seemd to be solved, however i noticed that in some pages; for example in 'Profile Edit' page i get another fatal error on the com_clexus module this time.
I googled many hours and couldn't find another solution rather than ini_set thing to tune memory_limit; however i discussed this solution-like thing with my hosting firm and they rightfully refused to increase the memory_limit to 16-20Megs. Their justification was so reasonable; they requested me to imagine 200 concurrent users online on my site viewing the same page which requires 15MB ram than this makes a total of 3GB ram that can't be afforded via shared hosting and adviced me to buy a dedicated server; however i thought that buying a dozens of dedicated servers is not a solution either; because 200 concurrent users is an optimistic scenario; what if 500 people online? Than 7.5GB ram is required...
At this point i'm confused. Is it normal that a PHP script consumes 15MB of memory and although increasing memory limit to 15-20Megs level doesn't this open a backdoor for attacks.
On Joomlapolis site one of the guys stated that Joomla framework consumes 10MB's of RAM, than i want to ask why don't i take the same error on localhost with a 8MB memory_limit. And more interesting thing is that if Joomla requires 10MB's of ram to operate than with how much ram this joomla.org operated? Or if community builder needs to be run with 15MB's of RAM then how joomlapolis site can be operated, unbelievable amounts of ram is required for both cases.
As you can understanda i'm confused...
This thread is not purely related with performance maybe but; the make the site run in optimum performance and operation point i need to discuss the memory_limit thing.
Waiting for ideas and clarification
Regards
Please Log in to join the conversation.