Is there a possibility to determine rust program memory usage?

I asked a similar question last year, and was pointed to heapsize.