Rich memory loss

@KaIseR