Memory overload when visiting a past version in the history