The ulimit is a mechanism for restrict the amount of various resources a process an consume. There's a shell command to set the ulimit for processes which are started in that shell.
If you are using bash as your shell, you can list the current ulimit settings by issuing this command in a terminal: ulimit -a