tropicalview
Documented here
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Memory_usage_and_limitsAlso see
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter4and while correct it is of limited value when considered in the context of modern equipment, virtual servers and email systems with all features enabled.
Can anybody please advice me the best max memory for SME?
Such a generic question (ie what is best?) can only be answered generically.
There is no best amount of memory that will suit all situations, as system specification depends on anticipated usage and load volumes.
Typically you would want not less than 4GB RAM if intending to run VmWare for good performance. If your system is going to cater for lots of users who frequently run server based web applications eg webmail, egroupware etc then memory demands will be much higher. Also if your systems receives large volumes of email and you have anti virus and spam scanning enabled, then these processes alone will place large demands on memory usage.
So on a busy system running VmWare it would not be out of place to run 8 or 16MB RAM, or even more if warranted.
A common way of assessing whether more RAM is required, is to check swap memory usage using top or htop.
If swap memory usage is half of installed or allocated RAM, then you should install more physical RAM (or allocate more in a virtual server).
Keep in mind that Linux will always try to use all available RAM, which is a good thing to keep your server running fast.
Keep in mind also that you can limit the instances of concurrent mail messages in various parts of the system and utilize RBL lists and executable content message rejection etc etc, all of which reduce the load greatly on available memory. Doing this may slow mail processing a little but will also allow you to run a server with less RAM, quite comfortably.
Ultimately and usually it just comes down to how much can one afford to install and/or the system is capable of handling. As memory and hardware generally speaking is not costly these days, you can manually install the hugemem kernel variant, select it at boot up and your system will recognize 64GB of RAM, assuming the motherboard can accept it.
yum install kernel-hugemem
signal-event post-upgrade
signal-event reboot
When you see the list of kernels displayed, select the hugemem kernel.