Skip to content

HUUUGE MEMORY USAGE #278

Description

@gaarutyunov

Describe the bug
Consumes 12Gb per worktree.

How to optimise memory consumption? What do I need to change?

To Reproduce
Run gortex

Expected behavior
Not sure what to expect, don't know where it comes from. Maybe need to pprof it.

Environment:

  • OS: macos

gortex v0.51.1+0e431493
commit: 0e43149
built: 2026-06-22T19:58:48Z
go: go1.26.4
os/arch: darwin/arm64

Additional context

Image

I use Ollama for embedding.

embedding:
enabled: true
provider: api # static | local | api (api = Ollama/OpenAI-compatible)
api_url: http://localhost:11434
api_model: nomic-embed-text
api_concurrency: 4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions