Spider-man forgives Doctor Octopus for all his past villain deeds because the latter put his life on the line saving Aunt May. I guess all those memories he took from Peter Parker during the Superior Spider-Man saga counted for something.
From – Amazing Spider-man Vol. 1 #800