Overview
If the SQL DB Server runs out of drive space this can cause severe issues with M-Files operations and even prevent files from opening with errors like the below:
In this case, even deleting or destroying objects from the vault is unlikely to resolve the issue as the database does not resize right away but will instead do that during the next Optimization operation. Though the Optimization process will likely fail due to a lack of available space. Note that M-Files does not resize the database on its own, if its size decreases during some maintenance operations, this is due to normal MSSQL operation.
Solution
See what can be cleared from the DB drive even temporarily. First double check the transaction log size and truncate if needed:
If this is a VM, then allocate more space for the drive.
Once resolved, verify if the M-Files File Data is also kept on the SQL Database or if it's separate. We recommend that the File Data not be stored in the SQL DB:
https://www.m-files.com/user-guide/latest/eng/changing_the_location_of_the_vault_file_data.html
