title: PL/SQL function while executing throws Out Process Memory Error
body: <p>I have PL/SQL function, which is programmed to sort a set of data. This function work fine without any error, when called directly as a PL/SQL Function.</p>
  
  <p>However, when I call this Function Via a Unix Shell Script, even though the script returns a success code and throws an <code>Out Process Memory Error</code> and function is actually not executed.</p>
  
  <p>I have verified the DB Index spaces and temp spaces, which are more than 50% free spaces</p>