Error: database or disk is full (code 13 SQLITE_FULL)

I’m having a full database problem, I’ve been researching and found this. How do I store to main disk using appgyver?

The SQLITE_FULL result code indicates that a write could not complete because the disk is full. Note that this error can occur when trying to write information into the main database file, or it can also occur when writing into temporary disk files.

Sometimes applications encounter this error even though there is an abundance of primary disk space because the error occurs when writing into temporary disk files on a system where temporary files are stored on a separate partition with much less space that the primary disk.