If you are running CloudLinux with LVE, then you can set limits for your users. Please note cPanel itself does not impose this limit.
To modify the LVE limits for a user, within the WHM, navigate to the CloudLinux LVE Manager interface (WHM >> Home >> Server Configuration >> CloudLinux LVE Manager) to view LVE Manager information for accounts on your server.
CloudLinux recommends the following values:
Typical Hosting Account
High End Hosting Account
You can read more on LVE limits through the CloudLinux official documentation.