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.
Post Reply
bobby11
Joomla! Apprentice
Joomla! Apprentice
Posts: 19
Joined: Wed Jan 26, 2011 2:23 pm
Contact:

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: 23754
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
https://db8.nl - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 28981
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: 19
Joined: Wed Jan 26, 2011 2:23 pm
Contact:

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: 19
Joined: Wed Jan 26, 2011 2:23 pm
Contact:

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: 28981
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: 1059
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.

hant_jooms23
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Jun 15, 2022 7:33 pm

Re: Joomla Ram requirements

Post by hant_jooms23 » Wed Jun 15, 2022 8:05 pm

Slackervaara wrote:
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.
Thank you for this, I am looking for ways to decrease my memory consumption but too shy to directly post a question, so browsing through this comment really helps me. I just hope that it will work on my devices.


Post Reply

Return to “Performance - Joomla! 3.x”