Allow to specify ratio of allocation of available memory between heap and direct memory
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Estancado
- Stack tecnológico
- go
- Área
- infrastructure, performance
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Go
- Estrellas
- 670
- Forks
- 70
- Merge medio
- 5 d 7 h
- PR fusionados (30 d)
- 5
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de cloudfoundry/java-buildpack-memory-calculator
-
Provide Arm64 ExecutableAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
cloudfoundry/java-buildpack-memory-calculator#53 · 1 comentario ·
-
Detect virtual threadsAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
-
enhancement
Dificultad 4/5 Más de una semana Aptitud para principiantes 35/100
cloudfoundry/java-buildpack-memory-calculator#48 · 1 comentario · 1 reacción ·
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
cloudfoundry/java-buildpack-memory-calculator#40 · 2 comentarios ·
-
Xms (minimum heap) is missing in new memory caluculator which is causing havoc in our applications..Quizá libre de nuevo @nebhale la tomó hace 2352 días y no hay ningún pull request abierto. Abierto
cloudfoundry/java-buildpack-memory-calculator#33 · 6 comentarios · 2 reacciones · 1 asignado ·
Todos los issues de cloudfoundry/java-buildpack-memory-calculator
Issues similares
-
Add rebaseWhen: conflicted to major Go module Renovate updatesPosiblemente ocupada @WadekarPrashant la tomó hoy. Abiertoenhancement feature good first issue ready-for-triage triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
konflux-ci/build-definitions#3943 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
-
Typos Check fails when the typos binary download failsPosiblemente ocupada @akshat-kumar-singhal la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
defect
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nats-io/nats-server#8966 ·
Los mantenedores suelen responder en 1 día
-
cmd/fix, x/tools/go/analysis/passes/modernize: mapsloop moves comments out of the range operandPosiblemente ocupada @muratmirgun la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día