When a pydev project includes an import of graph_tool, Eclipse consumes very
high cpu cycles by percentage.
Open system monitor.
Create the project.
Open the source in the editor.
On a new line, type "g.".
The Eclipse java process increases to a very high percentage of cpu cycles.
This might take a minute to occur. Once it happens, it continues until
Eclipse is closed.
The Code Analysis never seems to complete.
When this problem occurred in a VirtualBox, typing became so slow as to be
useless.
Running in a non-virtual environment, the entire system became slow.
Source code in pydev project module:
from graph_tool.all import *
g = Graph()
v1 = g.add_vertex()
v2 = g.add_vertex()
e12 = g.add_edge(v1, v2)
print(g)
g.add
OS: Ubuntu 18.04
Eclipse:
Version: 2020-06 (4.16.0)
Build id: 20200615-1200
PyDev for Eclipse 7.7.0.202008021154 org.python.pydev.feature.feature.group
Python interpreter: python3.8 in venv (created with pipenv)
graph_tool requires matplotlib, numpy, and scipy in order to prevent
warnings, but these might not be required to cause the problem.
<https://nabble.skewed.de/file/t496263/processes-detail-cr-2k.png>
<https://nabble.skewed.de/file/t496263/resources.png>