长期打开含大量 CSS 结构的组件页面时内存占用偶发过高
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: zhuzhengyi2
**客户端版本**: 0.1.44
---
## 现象
在 Cindy 自带浏览器中长期打开含有大量 CSS 结构的组件页面时,偶尔会出现内存占用过大的情况,最终需要刷新页面重新加载。用户观察到此前在 Codex 中未出现类似问题。
## 复现步骤
1. 在 Cindy 自带浏览器中打开一个包含大量 CSS 结构的组件页面。
2. 让页面长期保持打开状态。
3. 观察页面运行期间的内存占用;问题会在某些情况下出现。
由于问题是偶发的,目前无法提供更精确的触发操作或稳定的最小复现步骤。
## 期望行为
组件页面长期打开时,内存占用应保持在合理范围内,页面无需因内存占用过高而刷新,并能够持续正常使用。
## 实际行为
偶尔出现内存占用过大的情况,需要刷新页面重新加载。是否伴随页面变慢、卡顿、无响应或浏览器崩溃:用户未知。
## 复现频率
偶发,具体频率用户未知。
## 已尝试
已通过刷新页面重新加载来恢复使用。除刷新外,是否尝试过关闭页面或重启 Cindy:用户未知。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
Start by reproducing the issue in Cindy 0.1.44 on win32 x64 with a component page containing extensive CSS structures, then observe memory usage during a long session. Compare behavior before and after the increase; done means the page remains usable without excessive memory consumption or requiring a refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100