Jedi freezes ST and causes very high RAM usage.
See original GitHub issueDescription
- An python file of a Sublime Text package is open.
- Enter
from collections import S
into the first line.
ST suddenly freezes. After a while the console shows some output error. The CPU usage of the plugin_host.exe increases to 100% for one core. The RAM usage increases up to 1.2GB.
I was faced to that issue several times. Sometimes RAM usage even increases and stays at 2.5GB!
Console Output
Traceback (most recent call last):
File "C:\Apps\Sublime Text 3\sublime_plugin.py", line 685, in on_query_completions
res = vel.on_query_completions(prefix, locations)
File "C:\Apps\Sublime Text 3\Data\Packages\Jedi - Python autocompletion\sublime_jedi\completion.py", line 154, in on_query_completions
location=locations[0]
File "C:\Apps\Sublime Text 3\Data\Packages\Jedi - Python autocompletion\sublime_jedi\daemon.py", line 83, in ask_daemon_with_timeout
return request.result(timeout=timeout)
File "./python3.3/concurrent/futures/_base.py", line 403, in result
concurrent.futures._base.TimeoutError
TaskManager
Infos
- Win10 Pro 1803 x64
- ST 3176 x64
- Jedi v0.13.4
- Running python 3.7
- jedi-0.12.1
- parso-0.3.1
'PYTHONPATH': ';C:\\Apps\\Sublime Text 3\\Data\\Lib\\python3.3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\wcwidth\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\sublime_lib\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\tabulate\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\PYTHON~1\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\pyyaml\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\dateutil\\all;C:\\Apps\\Sublime Text 3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\pygments\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\jsonschema\\all;C:\\Apps\\Sublime Text 3\\python3.3.zip;C:\\Apps\\Sublime Text 3\\Data\\Packages\\pyte\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\python-jinja2\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\MARKUP~1\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\backrefs\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\mdpopups\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\lxml\\st3_windows_x64;C:\\Apps\\Sublime Text 3\\Data\\Packages\\Jedi - Python autocompletion\\dependencies;C:\\Apps\\Sublime Text 3\\Data\\Packages;C:\\Apps\\Sublime Text 3\\Data\\Packages\\pymdownx\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\ruamel-yaml\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\coverage\\st3_windows_x64;C:\\Apps\\Sublime Text 3\\Data\\Packages\\pathtools\\all;C:\\Apps\\Sublime Text 3\\Data\\Packages\\pywinpty\\st3_windows_x64;C:\\Apps\\Sublime Text 3\\Data\\Packages\\regex\\st3_windows_x64;C:\\Apps\\Sublime Text 3\\Data\\Packages\\yaml_macros_engine\\st3;C:\\Apps\\Sublime Text 3\\Data\\Packages\\watchdog\\all',
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:27 (19 by maintainers)
Top Results From Across the Web
Freeze caused by very high RAM usage : r/StableDiffusion
Hello, while trying to run the basic github version, my RAM usage quickly goes to the maximum, and causes my PC to completely...
Read more >Jupyter Lab freezes the computer when out of RAM
I've noticed in spyder and jupyter that the freezeup will usually happen when working in another console while a large memory console runs....
Read more >How to fix Star Wars Jedi: Fallen Order crashing in Windows 10?
1. Run Star Wars Jedi: Fallen Order as an administrator. 2. Verify the integrity of the game files for Star Wars Jedi: Fallen...
Read more >High memory use, crashes, freezes and application shut downs
I constantly receive messages to shutdown applications because of high memory usage, usually about 80%. When I try to continue working Windows ...
Read more >Fix High RAM Memory Usage Issue on Windows 11/10 [10 ...
When the PC has a high memory usage error, it will freeze while running a program and pops up an error message, warning...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I only just realized how bad this issue was. Big sorry for that. I therefore did a release immediately. (0.13.2)
Just added a
webbrowser.get(...).open()
line somewhere in my code. The first time I enter url, it takes quite a long time - 1 to 3 seconds. But after that the delays seem constant at something like 0.3 to 0.6s.The culprit for high RAM was the second line in my case.