-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Open
Description
Describe the bug
When using Deepseek chat with lengthy chat history, you get OOM error very quickly. Memory leak issue.
To Reproduce
- Have many (1000+) conversations in history
- Switch conversations 10-15 times or enter 2-3 chat messages
- Browser freezes
Expected behavior
Deepseek should not OOM with a long conversation history.
Screenshots
N/A
Additional context
- In chrome/msedge debugger, source file collect-rangers-v5.2.1.js contains a logger that stores events in a map. User accounts have 10,000-100,000 objects. New account has ~15 objects.
- Overriding the source file by removing all code fixed the issue and dropped tab RAM usage from ~3-6 GB to 125 MB.
- Thank you for all the hard work
我已使用大语言模型(LLM)翻译此文。如有任何错误,敬请谅解。
错误描述
在使用 Deepseek 聊天功能时,若聊天记录较长,系统会很快出现内存溢出(OOM)错误。疑似存在内存泄漏问题。
重现步骤
- 在历史记录中拥有大量(1000条以上)对话
- 切换对话10-15次或发送2-3条聊天消息
- 浏览器冻结
预期行为
Deepseek 应能处理长对话历史记录,不应出现内存溢出问题。
屏幕截图
无
补充信息
- 在 Chrome/Edge 调试工具中,源文件 collect-rangers-v5.2.1.js 包含一个将事件存储在映射(Map)中的日志记录器。用户账户中存在10,000至100,000个对象,而新账户仅有约15个对象。
- 通过覆写该源文件并删除其所有代码后,问题得以解决,且标签页内存占用从 ~3-6 GB 降至 125 MB。
- 感谢你们付出的辛勤努力
DaMccRee
Metadata
Metadata
Assignees
Labels
No labels