
To reduce memory use when idle, you can choose to enable dormant mode. In dormant mode, the service will consume considerably less memory at the cost of a slight delay upon the first connection. This feature is available for each of the services in tweak settings.
You can enable the Dormant services from the WHM >> Server configuration » Tweak Settings and enable the Dormant services as per your requirement.