### Problem When running CodeWeaver within a VSCode terminal inside WSL, the indexing process—especially during processor-intensive embedding—frequently causes the VSCode server to crash and WSL to time out. This issue happens despite CodeWeaver explicitly lowering its process priority (10+ nice) and applying logic to reduce the number of processors and threads on WSL (see `codeweaver.common.utils.procs`). #### Details - Crashes specifically occur when indexing in a VSCode terminal running under WSL. - These crashes appear tied to the embedding phase (high CPU load). - Measures to reduce priority and thread count do not prevent the problem. - Only tested so far on a personal laptop; not yet confirmed on other hardware/configurations. ### Temporary Workaround While CodeWeaver can work with VSCode, for a more stable experience, run it either: - Directly in a WSL terminal (outside of VSCode) - In a native Linux or Windows environment If you've already indexed your codebase, the issue may not occur. ### Steps to Reproduce 1. Use VSCode within WSL. 2. Start CodeWeaver indexing from a VSCode terminal. 3. Observe server crash during embedding phase. ### Environment - CodeWeaver running in: VSCode terminal inside WSL - WSL: (version and hardware specifics can be added) - Personal laptop (additional configs helpful for future debugging) ### References Relevant logic: `codeweaver.common.utils.procs` --- For further insights, more testing on diverse hardware/setups is recommended.