title: How to determine the process memory limit in Linux?
body: <p>I have been scouring the internet to find out how much memory a java process can take on a linux (red-hat) machine.  ( I am not talking about heap; rather, the entire amount of memory taken up by the java <strong>Process</strong>)</p>
  
  <p>I don't have permission to execute anything on that machine. So I can't simply execute a program that consumes memory until Out-Of-Memory condition.</p>
  
  <p>However, I do have permission to check config files, etc.  ( for example:  I tried to execute cat /proc/meminfo, but I can't understand it; it appears that none of its results stand for the parameter I want to know about).</p>
  
  <p>I have tried out a java program on a separate red hat machine - on which I do have permission to execute programs -  and I was able to see java program grow up to around 3GB.  </p>
  
  <p>Is there some way I can find out how much memory a process can get ? </p>