Open Chuck321123 opened 9 months ago
Hey @Chuck321123, thanks for reporting. We've also noticed this, but the fix is not so simple (i.e. it involves many changes in several places). We'll start with some improvements in Spyder 6 and then continue making things better in later releases.
In the meantime, we recommend you to use another editor/IDE to edit large files.
Issue Report Checklist
Checklist checked
Problem Description
So by working in a larger python file (about 8000 rows) by editing variables or adding text, Spyder randomly freezes in 1-2 seconds before it continues and it repeats every 5-10 seconds (and this happens before even running the script or have anything loaded). This didnt happen before so i find it strange that it happens suddenly, although i have in several occasions created new environments with spyder installed. I have tried a lot from reseting to factory settings and reinstalling Spyder to creating fresh new environment to reinstalling the whole anaconda and starting from scratch but nothing works. I have enough RAM and processing power available so it cant be that either. In jupyter everything runs fine.
What steps reproduce the problem?
It's kind of hard to replicate but i could manage to replicate 0.5-1 second freezes when editing code by just copy-pasting a random code with text so many times that the script reaches 20-30k lines. More than that i dont know how to attack the problem and i dont know what causes the problem.
Edit: Found the problem to come from the plugin "Completion and lintin". This plugin uses way too much CPU for me and disabling this has stopped the freezing. Might be a good idea to check into this
What is the expected output? What do you see instead?
That Spyder doesnt randomly freeze
Versions
Dependencies