Nowledge Mem Search Reindex Issue Report
GitHub bug report URL:
https://github.com/nowledge-co/community/issues/new?template=bug_report.yml
Issues list:
https://github.com/nowledge-co/community/issues
Official support page:
https://mem.nowledge.co/docs/community
Discord:
https://nowled.ge/discord
Email:
hello@nowledge-labs.ai
Chinese Version
Title
Windows 0.7.10 搜索索引重建卡在 indexing_memories 5%,Python 后端内存涨到 22GB 后断连
Body
## 问题描述
在 Windows 上使用 Nowledge Mem v0.7.10 时,搜索索引提示需要重建。运行 `nmem models reindex` 后,重建过程卡在 `indexing_memories` 阶段,进度停在 5%,随后 CLI 报错:
```text
httpx.RemoteProtocolError: Server disconnected without sending a response.
本地后端仍显示 reindex active,但 updated_at 不再变化。
环境
- OS: Windows
- Nowledge Mem: v0.7.10
- nmem CLI: v0.7.10
- Search embedding model: BAAI/bge-m3
- Installer: website installer build
- Data path:
%LOCALAPPDATA%\NowledgeGraph
- Search index path:
%LOCALAPPDATA%\NowledgeGraph\search_index
复现步骤
- 打开 Nowledge Mem
- 运行:
nmem status
nmem models status --verify
nmem models reindex
nmem models reindex 开始后停在重建搜索索引阶段
- 约 129 秒后 CLI 断开并报
Server disconnected without sending a response
实际结果
nmem status 显示:
server v0.7.10
status ok
database connected
search rebuild needed
nmem models status --verify 显示:
Search Embedding ready BAAI/bge-m3
Search Index Action needed: rebuild search index
本地接口 /search-index/reindex/status 返回:
{
"active": true,
"run_id": "60b217f5-db74-479b-b24e-82a578b9fd25",
"stage": "indexing_memories",
"message": "Batch indexing 190 memories...",
"progress": 5.0,
"updated_at": "2026-04-29T07:01:35.611720+00:00",
"success": null
}
同时 Python 后端进程内存异常升高:
PrivateMemorySize64: ~22.3GB
FreePhysicalMemory: ~133MB
CLI 报错:
httpx.RemoteProtocolError: Server disconnected without sending a response.
日志关键点
相关 request_id:
f6a7b605896e4c57a30528ff1e0771ba
日志中停在:
Full reindex: Starting memory reindex...
Generating embeddings for memory chunk
Generating batch embeddings (FastEmbed)
之前另一次重建也出现:
/search-index/reindex status_code=500
timeout graceful shutdown exceeded
Backend process force killed
对应 request_id:
aa4f4a34ed844afa8b24d475f9653c4c
期望结果
搜索索引重建应能完成,或者在内存不足/embedding 失败时能降级、分批处理、释放内存并返回明确错误,而不是卡在 5% 并导致后端内存涨到 22GB。
Nowledge Mem Search Reindex Issue Report
GitHub bug report URL:
https://github.com/nowledge-co/community/issues/new?template=bug_report.yml
Issues list:
https://github.com/nowledge-co/community/issues
Official support page:
https://mem.nowledge.co/docs/community
Discord:
https://nowled.ge/discord
Email:
hello@nowledge-labs.ai
Chinese Version
Title
Body
本地后端仍显示 reindex active,但
updated_at不再变化。环境
%LOCALAPPDATA%\NowledgeGraph%LOCALAPPDATA%\NowledgeGraph\search_index复现步骤
nmem status nmem models status --verify nmem models reindexnmem models reindex开始后停在重建搜索索引阶段Server disconnected without sending a response实际结果
nmem status显示:nmem models status --verify显示:本地接口
/search-index/reindex/status返回:{ "active": true, "run_id": "60b217f5-db74-479b-b24e-82a578b9fd25", "stage": "indexing_memories", "message": "Batch indexing 190 memories...", "progress": 5.0, "updated_at": "2026-04-29T07:01:35.611720+00:00", "success": null }同时 Python 后端进程内存异常升高:
CLI 报错:
日志关键点
相关 request_id:
日志中停在:
之前另一次重建也出现:
对应 request_id:
期望结果
搜索索引重建应能完成,或者在内存不足/embedding 失败时能降级、分批处理、释放内存并返回明确错误,而不是卡在 5% 并导致后端内存涨到 22GB。