title: what is difference hue execute task in browser and as workflow running
body: <p>My task is combined by multiple sql.I copy these sql to window of browser for executing. The task will success.
  But I copy sql to file, then edit workflow. I execute workflow, it always has error on specific point.
  My sqls include some setting in header.</p>
  
  <pre><code>set hive.exec.dynamic.partition=true;
  set hive.exec.dynamic.partition.mode=nonstrict;
  set mapreduce.map.memory.mb=5120;
  set mapreduce.reduce.memory.mb=5120;
  set mapreduce.map.java.opts=-Xmx4096m;
  set mapreduce.reduce.java.opts=-Xmx4096m;
  
  create table as select ......;
  create table as select ......;
  create table as select ......;
  </code></pre>
  
  <p>Oh, I am surprised by this problem. I don't understand it. anyone help me?</p>
  
  <p>Error info is "... is running beyond physical memory limits. Current usage: 2.0 GB of 2 GB physical memory used; 3.5 GB of 4.2 GB virtual memory used. Killing container". This error happen in map stage.</p>