#*technically i have like 4 days worth of extension hours but i don't want to risk me misunderstanding how those work so it's due midnight
Explore tagged Tumblr posts
Note
You're so cool
So it turns out that A) The error wasn't actually an out of memory error, I was just misreading the error code, and B) The error could in fact be accurately described as the process being "out of memory", because I had my code set up in such a way that the process literally didn't have any memory access at all, including access to the memory where its own code is stored. I tried to run a program that couldn't access its own code lol
#asks#i then ran into ANOTHER incomprehensible bug immediately after that was causing utterly nonsensical memory problems#turns out i had two function calls in the wrong order#i had no idea those function calls even affected each other#i found this bug by copy-pasting someone else's code in place of my own until it fixed the bug#then checking for differences so i could figure out what exactly caused it#still working on it today#it's my final assignment and it's due at midnight* but i'm confident in my new-found debugging method to carry me through#*technically i have like 4 days worth of extension hours but i don't want to risk me misunderstanding how those work so it's due midnight#ALSO in the incomprehensible memory bug my fucking PRINT STATEMENTS were changing the output of the program#it was a WILD bug
0 notes