Prepared a test repo, that initializes a map and allows you to jump to another page, when I run this code and jump between the pages the memory isn't being freed correctly, hopefully this helps:
I was mistaken we're using 4.14, can someone from ESRI look into this and please update us?