Running the following query in SQL Server Management Studio gives the error below.
update table_name set is_active = 0 where id = 3
In my case,I was using SubQuery and had a same problem. I realized that the problem is from memory leakage.
SubQuery
Restarting MSSQL service cause to flush tempDb resource and free huge amount of memory. so this was solve the problem.
MSSQL
tempDb