Allow to specify ratio of allocation of available memory to young generation in heap
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 42/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 领域
- performance, tooling
调研方向
Start with the memory calculator’s heap-allocation logic and how it produces JVM options such as -Xmn. Add ratio-based young-generation allocation consistent with the total heap and container memory, then update the calculator tests to verify the selected ratio and generated JVM arguments.
由索引模型根据 Issue 内容生成。
描述
In applications that should optimise for minor garbage collection (which is most of the cloud-based one in my experience), it is useful to set the -Xmn to fix how much memory can be allocated in the heap for young generation. This parameter usually makes sense a fraction of the total heap memory, so that allocating more memory to the surrounding container lets the memory allocated to young generation expand linearly with the total memory available to the heap.
We have implemented this feature in the forked the memory calculator used by the Instana Agent, but we'd be happy to contribute back if this feature is interesting to this project.
- 主要语言
- Go
- 星标
- 670
- 派生
- 70
- 平均合并
- 5 天 7 小时
- 30 天内合并 PR
- 5
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudfoundry/java-buildpack-memory-calculator 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
cloudfoundry/java-buildpack-memory-calculator#53 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 38/100
-
enhancement
难度 4/5 一周以上 新手友好度 35/100
cloudfoundry/java-buildpack-memory-calculator#48 · 1 条评论 · 1 个 reaction ·
-
enhancement poll
难度 4/5 3-5 天 新手友好度 38/100
cloudfoundry/java-buildpack-memory-calculator#39 · 6 条评论 · 6 个 reaction ·
-
Xms (minimum heap) is missing in new memory caluculator which is causing havoc in our applications..可能重新可做 @nebhale 于 2352 天前认领,目前没有进行中的 PR。 未关闭
cloudfoundry/java-buildpack-memory-calculator#33 · 6 条评论 · 2 个 reaction · 已指派 1 人 ·
查看 cloudfoundry/java-buildpack-memory-calculator 的全部 Issue
相似的 Issue
-
Add rebaseWhen: conflicted to major Go module Renovate updates可能已有人在做 @WadekarPrashant 今天认领。 未关闭enhancement feature good first issue ready-for-triage triaged
难度 2/5 1-3 小时 新手友好度 78/100
konflux-ci/build-definitions#3943 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 86/100
-
Typos Check fails when the typos binary download fails可能已有人在做 @akshat-kumar-singhal 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 2 天内回复
-
defect
难度 2/5 1-3 小时 新手友好度 78/100
nats-io/nats-server#8966 ·
维护者通常 1 天内回复
-
cmd/fix, x/tools/go/analysis/passes/modernize: mapsloop moves comments out of the range operand可能已有人在做 @muratmirgun 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复