Extreme cpu usage by Eclipse PyDev project using graph-tool

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Extreme cpu usage by Eclipse PyDev project using graph-tool

Kerr Avon
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>




--
Sent from: https://nabble.skewed.de/
_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool
Reply | Threaded
Open this post in threaded view
|

Re: Extreme cpu usage by Eclipse PyDev project using graph-tool

Tiago Peixoto
Administrator
Am 23.08.20 um 13:10 schrieb Kerr Avon:
> When a pydev project includes an import of graph_tool, Eclipse consumes very
> high cpu cycles by percentage.

This has nothing to do with graph-tool. Please report this problem to
the pydev project.

--
Tiago de Paula Peixoto <[hidden email]>


_______________________________________________
graph-tool mailing list
[hidden email]
https://lists.skewed.de/mailman/listinfo/graph-tool

signature.asc (849 bytes) Download Attachment
--
Tiago de Paula Peixoto <tiago@skewed.de>