title: Handling integer out of range in bash
body: <p>I have collected vmstat data in a file . It gives details about free, buffer and cache .
  SInce i'm interested in finding the memory usage , I should do the following computation for each line of vmstat output -- USED=TOTAL - (FREE+BUFFER+CACHE) where TOTAL is the total RAM  memory and USED is the instantaneous memory value.
  TOTAL memory = 4042928 (4 GB)</p>
  
  <p>My code is here</p>
  
  <pre><code>grep -v procs $1 | grep -v free | awk '{USED=4042928-$4-$5-$6;print $USED}' &gt; test.dat
  awk: program limit exceeded: maximum number of fields size=32767
          FILENAME="-" FNR=1 NR=1
  </code></pre>