Allow to specify ratio of allocation of available memory between heap and direct memory
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Ferma
- Stack tecnologico
- go
- Ambito
- infrastructure, performance
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 670
- Fork
- 70
- Merge medio
- 5g 7h
- PR unite (30g)
- 5
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di cloudfoundry/java-buildpack-memory-calculator
-
Provide Arm64 ExecutableAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
cloudfoundry/java-buildpack-memory-calculator#53 · 1 commento ·
-
Detect virtual threadsAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
-
enhancement
Difficoltà 4/5 Più di una settimana Idoneità per principianti 35/100
cloudfoundry/java-buildpack-memory-calculator#48 · 1 commento · 1 reazione ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
cloudfoundry/java-buildpack-memory-calculator#40 · 2 commenti ·
-
Xms (minimum heap) is missing in new memory caluculator which is causing havoc in our applications..Forse di nuovo libera @nebhale l’ha presa 2352 giorni fa e non c’è nessuna pull request aperta. Aperta
cloudfoundry/java-buildpack-memory-calculator#33 · 6 commenti · 2 reazioni · 1 assegnatario ·
Tutte le issue di cloudfoundry/java-buildpack-memory-calculator
Issue simili
-
Add rebaseWhen: conflicted to major Go module Renovate updatesForse già presa @WadekarPrashant l’ha presa oggi. Apertaenhancement feature good first issue ready-for-triage triaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
konflux-ci/build-definitions#3943 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 86/100
-
Typos Check fails when the typos binary download failsForse già presa @akshat-kumar-singhal l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nats-io/nats-server#8966 ·
I maintainer di solito rispondono entro 1 giorno
-
cmd/fix, x/tools/go/analysis/passes/modernize: mapsloop moves comments out of the range operandForse già presa @muratmirgun l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno