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:
gortex v0.51.1+0e431493
commit: 0e43149
built: 2026-06-22T19:58:48Z
go: go1.26.4
os/arch: darwin/arm64
Additional context
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
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:
gortex v0.51.1+0e431493
commit: 0e43149
built: 2026-06-22T19:58:48Z
go: go1.26.4
os/arch: darwin/arm64
Additional context
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