Joomla Ram requirements

Discussion regarding Joomla! 3.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
bobby11
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Jan 26, 2011 2:23 pm

Joomla Ram requirements

Post by bobby11 » Mon May 09, 2022 12:57 pm

Hi there,
I have recently switched from shared hosting to cloudbased hosting with my joomla websites...
I have nearly 130 sites, half of them are simple business card websites others are bigger, and nearly 30 of them are "about 4.000 pages" each...

on shared hosting I got no issues in terms of hardware performance, but in cloud hosting I have RAM issues....

my current cloud server configuration is 4 cpu/12gb ram - and since my projects are not high CPU intensive 4 is ok but RAM is continuously going out of memory...

My questions is, how much RAM memory does one joomla installation requires?
Maybe in my case would be better to maintain shared hosting since for larger projects?

thank you

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24968
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Joomla Ram requirements

Post by pe7er » Mon May 09, 2022 2:39 pm

bobby11 wrote:
Mon May 09, 2022 12:57 pm
My questions is, how much RAM memory does one joomla installation requires?
The amount of RAM needed for a website depends on a lot of variables.
Do you use memory caching like REDIS or Memcached?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla Ram requirements

Post by Per Yngve Berg » Mon May 09, 2022 6:55 pm

What limit have you set in php (128M, 256M or 512M)?

Note that this is for each request. With 4 concurrent users and 256M, 1G will be used on the server.

bobby11
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Jan 26, 2011 2:23 pm

Re: Joomla Ram requirements

Post by bobby11 » Wed May 11, 2022 2:45 pm

pe7er wrote:
Mon May 09, 2022 2:39 pm
bobby11 wrote:
Mon May 09, 2022 12:57 pm
My questions is, how much RAM memory does one joomla installation requires?
The amount of RAM needed for a website depends on a lot of variables.
Do you use memory caching like REDIS or Memcached?
Hi there, yeap Memcached is installed...

bobby11
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed Jan 26, 2011 2:23 pm

Re: Joomla Ram requirements

Post by bobby11 » Wed May 11, 2022 4:30 pm

Per Yngve Berg wrote:
Mon May 09, 2022 6:55 pm
What limit have you set in php (128M, 256M or 512M)?

Note that this is for each request. With 4 concurrent users and 256M, 1G will be used on the server.
Hi, thank you for this suggestion actually I see each website has default configuration o 640mb as standard for "php memory limit" I have asked my host if these could be the reason of the issue (and I suppose it may be) will provide some configuration tests in order to find best configuration for my case

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30880
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Joomla Ram requirements

Post by Per Yngve Berg » Thu May 26, 2022 1:53 pm

128M will be sufficient for most sites. Enable debug in Global Configuration and check what memory the page is using. Joomla will show a "trying to allocate xxxM of ram, using yyyM" when going out of memory.

It sounds like the toatal 12G on the server is depleted rather than the limit of a single site.

User avatar
Slackervaara
Joomla! Ace
Joomla! Ace
Posts: 1115
Joined: Sat Aug 13, 2011 6:27 am

Re: Joomla Ram requirements

Post by Slackervaara » Mon May 30, 2022 5:43 pm

Have you thought about changing from memcache to file cache. Then the memory consumption would decrease. For my own Joomla site excluding bad bots in htaccess did decrease memory consumption considerable. If you have Cpanel you can look for robots and last visit in Awstats. How much they consume in GB.


Locked

Return to “Performance - Joomla! 3.x”