SAM failed to write changes to the database. This is most likely due to a memory or disk-space shortage. The SAM database ...

SAM failed to write changes to the database. This is most likely due to a memory or disk-space shortage. The SAM database will be restored to an earlier state. Recent changes will be lost. Check the disk-space available and maximum pagefile size setting.