WIP: Print used memory

Open Kamil Trzcińśki requested to merge test-memory-usage into master

What does this MR do?

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?