Skip to content

code index load all project index into RAMΒ #6262

@NaccOll

Description

@NaccOll

App Version

v3.24.0

API Provider

OpenAI Compatible

Model Used

Qwen/Qwen3-Embedding-8B and Qwen/Qwen3-Embedding-0.6B

Roo Code Task Links (Optional)

No response

πŸ” Steps to Reproduce

  1. Set up Qdrant using the provided docker-compose.yaml
  2. Configure RooCode to use Qdrant for code indexing
  3. Index a codebase with multiple project. eg. RooCode (~70k text blocks)
  4. Observe memory usage in Docker/System Monitor

πŸ’₯ Outcome Summary

Expected: Qdrant should manage memory efficiently, not loading all indexes into RAM
Actual: Qdrant loads all vector indexes into memory, consuming:

  • 1.5GB for RooCode with Qwen3-Embedding-8B (>10GB for multiple projects)
  • 900MB for RooCode with Qwen3-Embedding-0.6B (>5GB for multiple projects)
  • Scaling linearly with number of indexed projects

πŸ“„ Relevant Logs or Errors (Optional)

System: Windows 10/11
Docker: Desktop 4.40.0
Memory: 32G RAM

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions