I remember reading a study on that topic >15 years ago
https://en.wikipedia.org/wiki/Cold_boot_attack