Allow to specify ratio of allocation of available memory between heap and direct memory
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- go
- Lĩnh vực
- infrastructure, performance
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 670
- Fork
- 70
- Merge trung bình
- 5 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudfoundry/java-buildpack-memory-calculator
-
Provide Arm64 ExecutableĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
cloudfoundry/java-buildpack-memory-calculator#53 · 1 bình luận ·
-
Detect virtual threadsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
-
enhancement
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 35/100
cloudfoundry/java-buildpack-memory-calculator#48 · 1 bình luận · 1 reaction ·
-
enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
cloudfoundry/java-buildpack-memory-calculator#40 · 2 bình luận ·
-
Xms (minimum heap) is missing in new memory caluculator which is causing havoc in our applications..Có thể làm lại được @nebhale đã nhận 2352 ngày trước và không có pull request nào đang mở. Đang mở
cloudfoundry/java-buildpack-memory-calculator#33 · 6 bình luận · 2 reaction · 1 người được giao ·
Tất cả issue của cloudfoundry/java-buildpack-memory-calculator
Issue tương tự
-
Add rebaseWhen: conflicted to major Go module Renovate updatesCó thể đã có người làm @WadekarPrashant đã nhận hôm nay. Đang mởenhancement feature good first issue ready-for-triage triaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
konflux-ci/build-definitions#3943 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
-
Typos Check fails when the typos binary download failsCó thể đã có người làm @akshat-kumar-singhal đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nats-io/nats-server#8966 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cmd/fix, x/tools/go/analysis/passes/modernize: mapsloop moves comments out of the range operandCó thể đã có người làm @muratmirgun đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày