add free mem

This commit is contained in:
YouROK
2021-03-03 09:57:02 +03:00
parent 5fa90ed321
commit 1777b96c20

View File

@@ -173,6 +173,9 @@ func (c *Cache) cleanPieces() {
break break
} }
} }
if rems <= 0 {
utils.FreeOSMemGC()
}
} }
} }