Closed Tib-z closed 6 months ago
Hi @Tib-z , How big is your workspace (in MB/GB) do you need to index all of it? Can you replicate the issue and send us the logs?
One of the projects (legacy) is relatively large about 1GB with vendor and static files + .git another 900MB. Indeed the project exists in different variations, plus I work on a number of Symfony microservices, so the total size that is indexed adds up pretty quickly, even if I try to ignore parts of the project. In my workflow it seems the problem is that the vector db is built on top of all existing projects/workspaces - if I understand correctly how it works.
update: I just installed again the tabnine plugin (I've uninstalled recently) and opened only one project. Using the .ignore file excluded everything but one folder that is ~90MB. The vdb memory usage instantly jumped to 4GB, then reindex the workplace and now is 3.7GB.
..but then limiting all legacy projects quite aggressively and reindexing them all (It seems the index was not removed even though the plugin was uninstalled and the .tabnine also with the binaries) slowly reduced the memory usage to 1.5GB, which is somewhat ok.
Plugin version: 1.83.0 PhpStorm: Build #PS-241.15989.102, built on April 23, 2024 Runtime version: 17.0.10+1-b1207.14 aarch64 hw: Macbook air m1
Recently I noticed slowdown then found the vdb process to consume more than 4GB RAM. Not sure if this was the case before, but it doesn't make sense to use the same or more memory than all runnig IDEs alltogether. Switching model mode, excluding specific files (extensions), reinstalling tabnine did not change the situation.
gz#31448
(related to Zendesk ticket #31448)