So at the risk of sounding like an idiot, here goes:
I have a Python3 script that reads a file on start up, assigns a variable the text data in the file and then closes the file. The script may run for weeks or even months. Is there any risk that the OS will dump or overwrite this area of memory or that it will become corrupt over time. My script may not read the variable again for a LONG time, but when it does it has to be correct. I have seen no indication that it is losing the data, but I have not tested it out over "months" of time either.
Rpi2/Raspbian/Standard clock speed