Extreme cpu usage by Eclipse PyDev project using graph-tool
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
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)