
It could happen that the TEMPDB grows and even if you try to shrink it the size does not decrease.
The problem could be caused by cache data not being cleared.
In this cases you could use some commands that clear these cached data.
Read this article to understand what you can do in these cases