pycharm-odoo icon indicating copy to clipboard operation
pycharm-odoo copied to clipboard

Index performance on readonly filesystem

Open davejames opened this issue 9 months ago • 3 comments

Hello, when using the plugin in combination with a python environment instantiated with Nix, pycharm takes a long time to finish indexing. I couldn't see anything in the logs that might shed any light on what it's getting stuck on, but it's during the "scanning python SDK" stage, once this completes, the indexing itself doesn't take too long.

image

While this is happening the process manager shows vfs and the odoo plugin consuming significant CPU

image

Is there any way I can narrow down what's happening here? I didn't see any logging at this point indicating what the plugin is trying to do.

This is a fairly non-standard setup as python is in a readonly filesystem (nix store), however without the odoo plugin installed indexing works normally. Are there any considerations we might need to make for a readonly python environment?

davejames avatar May 23 '24 00:05 davejames