Log in to the WHM as a root user. Navigate to Server Configuration and select the ‘Tweak Settings’ option. Go to the ‘System’ tab and set the Max cPanel process memory.