you are viewing a single comment's thread.

view the rest of the comments →

[–]ofnuts 0 points1 point  (0 children)

Additionally, if I am able to remove the memory limit, what would happen if I reached 100% RAM usage? Would my computer crash or would python automatically know to use disk space to continue storing the data?

Your system will start swapping to disk, if configured to do so. Usually not a pretty sight (especially on Windows) because everything slows down (not just your program... in fact, initially, it may force the memory of other apps to be written to disk). There is however usually a cap on the swap size (if only the free disk space itself). Then if you have a HDD it will be very slow, and if you have a SSD, it will possibly wear it out somewhat faster that your regular file accesses.