title: RLIMIT_AS is not working upon setting its soft limit to a certain value
body: <p>For a process, I have set a soft limit value of <code>335544320</code> and hard limit value of <code>1610612736</code> for the resource <code>RLIMIT_AS</code>. Even after setting this value, the address space of the process goes up to maximum <code>178MB</code>. But I am able to see the value of the soft and Hard limits in <code>/proc/process_number/limits</code> correctly set to the above said values. </p>
  
  <p>I wanted to know whether <code>RLIMIT_AS</code> is working in my OS and would also like to know how I can test for the <code>RLIMIT_AS</code> feature. </p>
  
  <p>CentOS 5.5(64 bit) is the operating system that I am using. </p>
  
  <p>Some please help me with regard to this. Thank you!</p>