Which version are you using?
Memory allocations behavior comes from garbage collection that happens over time and is not immediate. Query execution engine also has background threads manage these operations like garbage collection. I expect that you may see cpu utilization even when queries aren’t running due to these background activities.
thanks
-cihan