Memory issue when doing a cache rebuild with large number of menu link content entities