core: Finish stabilizing the mem module.
#14392
+33
−26
Merged
mem module.
#14392