Europe never lost knowledge. It stopped developing doe to the Islamic invasion during this time.
It was also preserved in Constantinople until the 4th Crusade sacked.the.city.