Hi, it is not necessarily incorrect. SQL server will hold on to allocated memory if there are no other processes requesting memory, and will do so untill another process wants some.
This is what is reported in task manager (allocated mem), and would not necessarily be the same as the currently used memory reported by your script.
Hope this helps,
Martin.