Allow to specify ratio of allocation of available memory between heap and direct memory
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 38/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- go
調査の方向性
Start by locating the memory calculator implementation and its existing tests, then trace how JVM heap and direct memory are currently calculated and configured. Done means users can specify an allocation ratio between available heap and direct memory, with tests covering the new configuration and calculated totals.
索引モデルが issue の本文から書いたものです。
説明
Applications that heavily use NIO, like some Netty-based ones, sometimes benefit from more direct memory as the overall memory available to the JVM increases. This is because direct memory does not have, in itself, garbage collection, but rather it relies on APIs like Cleaner or other phantom reference-based ones to free direct memory as a consequence of evicting objects from heap (like ByteBuffers).
We actually have one such use-case in the Instana Agent, which is a Netty-based application that uses significantly more direct memory than most Java apps. When the Instana Agent runs in a container, we usually want to allocate roughly 1MB to direct memory for each 3MB to the heap, although heavy usage of some functionality skews that ratio one way or the other.
We have forked the memory calculator for tweaking it to our needs, but we'd be happy to contribute back if this feature is interesting to this project.
- 主要言語
- Go
- スター
- 670
- フォーク
- 70
- 平均マージ
- 5日 7時間
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 35/100
cloudfoundry/java-buildpack-memory-calculator#48 · コメント 1 件 · リアクション 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
cloudfoundry/java-buildpack-memory-calculator#40 · コメント 2 件 ·
-
Xms (minimum heap) is missing in new memory caluculator which is causing havoc in our applications..再び着手できるかも @nebhale が 2352 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudfoundry/java-buildpack-memory-calculator#33 · コメント 6 件 · リアクション 2 件 · 担当者 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 日以内に返信