Raise the simulation cache memory warning to 16 GiB
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- python
- 领域
- backend, performance
调研方向
在当前的 PolicyEngine.py 发布线中,查找共享模拟缓存的 8 GiB 和 32 GiB 阈值及其警告状态处理。更新第一个阈值和 GiB 的表述,然后运行相关的缓存测试,或为所述验收标准补充覆盖:16 GiB 和 32 GiB 警告各发出一次,清除缓存后将它们重置。
由索引模型根据 Issue 内容生成。
描述
Problem
The shared simulation cache currently logs its first process memory warning at 8 GiB. The deployed society simulation workers are expected to use substantially more memory, so the 8 GiB warning creates noise before the actionable threshold.
Proposed change
- Raise the first warning threshold from 8 GiB to 16 GiB.
- Retain the 32 GiB warning.
- Use GiB consistently in names and log messages.
- Base the change on the current PolicyEngine.py release line rather than creating a 5.2.x maintenance release.
Acceptance criteria
- No warning is emitted below 16 GiB.
- Each threshold is logged once until the cache is cleared.
- Clearing the cache resets warning state.
- 主要语言
- Python
- 星标
- 8
- 派生
- 9
- 平均合并
- 15 小时 28 分钟
- 30 天内合并 PR
- 13
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
PolicyEngine/policyengine.py 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/policyengine.py#473 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
PolicyEngine/policyengine.py#436 · 1 条评论 ·
维护者通常 1 天内回复
-
Certify populace-uk as the UK certified default可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
PolicyEngine/policyengine.py#408 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
PolicyEngine/policyengine.py#553 · 1 条评论 ·
维护者通常 1 天内回复
-
Resolve US state and congressional-district regions to the ACS local-area dataset可能已有人在做 @anth-volk 于 2 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 48/100
PolicyEngine/policyengine.py#551 ·
维护者通常 1 天内回复
查看 PolicyEngine/policyengine.py 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
Task
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
war-and-code/dircue#200 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 87/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复