Memory usage optimization by not loading all pending versions