Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Snooty language server kills the system by launching 27+ 4GB python processes on startup #24

Open
Ark-kun opened this issue May 31, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@Ark-kun
Copy link

Ark-kun commented May 31, 2021

I have a beefy system, but its capabilities are not limitless.

image

Committed memory: 124/126 GB
image

I see lots of errors in snooty language client logs:

Process SpawnPoolWorker-27:
Traceback (most recent call last):
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\multiprocessing\process.py", line 297, in _bootstrap
    self.run()
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\multiprocessing\process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\multiprocessing\pool.py", line 110, in worker
    task = get()
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\multiprocessing\queues.py", line 354, in get
    return _ForkingPickler.loads(res)
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\snooty\parser.py", line 33, in <module>
    import networkx
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\networkx\__init__.py", line 112, in <module>
    import networkx.generators
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\networkx\generators\__init__.py", line 8, in <module>
    from networkx.generators.community import *
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\networkx\generators\community.py", line 20, in <module>
    from scipy.special import zeta as _zeta
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\scipy\__init__.py", line 63, in <module>
    from numpy import show_config as show_numpy_config
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\__init__.py", line 140, in <module>
    from . import core
  File "C:\Users\Ark\AppData\Local\Programs\Python\Python37\lib\site-packages\numpy\core\__init__.py", line 89, in <module>
    from . import einsumfunc
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 724, in exec_module
  File "<frozen importlib._bootstrap_external>", line 818, in get_code
  File "<frozen importlib._bootstrap_external>", line 917, in get_data
MemoryError

Version: snooty_lextudio-1.9.2.dev0

Caused by networkx/networkx#4857 which is mostly caused by numpy/numpy#19145

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants