SciView freezes for large objects
Answered
When I click on 'View as array' for a large array, PyCharm freezes for minutes or longer (I kill it after a few minutes). These are the steps:
Open Console and type in the following 2 lines:
import numpy as np
x = np.arange(1e8)
Click on 'View as array' in the variable window for "x".
This makes my IDE freeze on both windows and CentOS. Looking at resources shows PyCharm is fully using one core.
I would like to be able to inspect large arrays and DataFrams graphically. MATLAB allows this by loading only what is viewable in the window.
I'm using 2018.2.4
Please sign in to leave a comment.
Hi Richard,
I am able to reproduce it with your example. Thanks for providing it.
I believe it is covered by the following issue https://youtrack.jetbrains.com/issue/PY-24896, please vote for it and follow for updates.
I think that issue is slightly different. The complaint there is that is says "nothing to show" when you click on "View as array". My issue is it freezes the whole pycharm session, and it is only for large arrays.
Ok, thanks for clarification.
I have filed a separate issue about it https://youtrack.jetbrains.com/issue/PY-33448, the developer will link it to another issue if needed.