title: SQLITE3 VACUUM, "database or disk is full"
body: <p>I'm trying to run the <code>VACUUM</code> command on my database, but I seem to run out of space:</p>
  
  <pre><code>&gt; sqlite3 mydatabase.db "VACUUM"
  Error: database or disk is full
  </code></pre>
  
  <p>The database is about 36 GB and the drive that I'm running it on looks like (via <code>df -h</code>):</p>
  
  <pre><code>Filesystem      Size  Used Avail Use% Mounted on
  /dev/sda2       406G  171G  215G  45% /home
  </code></pre>
  
  <p>So I am clearly above the double size limited needed. What can I do to allow the vacuum command to run?</p>