I've developed an algorithm trading program, and I need to run it 24/7.
Also, I just ran my code straight on pycharm, as I couldn't see any real downside to it (let me know if I'm wrong).
After running it for the last 24 hours, for which pycharm worked fine, i stopped the program to edit some code.
Editing and saving codes also worked fine.
But when I tried to rerun it after, it gave me an "Unknown Error" and froze for good. I had to close it via task manager since pressing X or Alt+F4 didn't work.
The exact same phenomenon has happened twice now, and I think it's not a coincidence. Do you know what could be potentially causing this?
My system is i7-8700k with 32gb of RAM.
When running my code, pycharm uses about 1.5gb of RAM and less than 30% of CPU.
I'm using the latest version of pycharm.