SeungukShin / cscope-code

Cscope Extension for Code
11 stars 4 forks source link

Every time an update happens the whole database is re-generated #19

Closed MahmoudYounes closed 1 year ago

MahmoudYounes commented 1 year ago

sorry for the lack of details on this one but the extension put my system into complete halt when I tried to build the linux kernel. cscope has been the go to indexer and code browser utility for the linux kernel. whenever I do pull or change something or build the kernel, the whole system hangs, and all processes open are OOM-ed. This can't be the linux kernel build because I was successfully able to build it while vscode is not opened. my guess is, there is a file watcher that re-generates the database for cscope every time a file is generated, causing high memory and CPU usage. it would be nice to be able to configure cscope whether to run with user request or automatically as is currently the case. if this functionality already exists, it would be even nicer to have Documentation.

MahmoudYounes commented 1 year ago

Found the setting from the code. apologies!