Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

217
Vistas
Kuberneties : node.js set max-old-space-size on container command does not work

my memory is as follows: i would like to increase to 4gb memory

> v8.getHeapStatistics()
{
  total_heap_size: 5222400,
  total_heap_size_executable: 573440,
  total_physical_size: 3287816,
  total_available_size: 2195404152,
  used_heap_size: 2933192,
  heap_size_limit: 2197815296,
  malloced_memory: 65592,
  peak_malloced_memory: 712992,
  does_zap_garbage: 0,
  number_of_native_contexts: 1,
  number_of_detached_contexts: 0
}

i am trying to set the following on the container statefulset and nothing happen

how can I get it work?

      containers:
        - name: service
          image: XXX
          command:
            - node
          args:
            - '--max-old-space-size=4096'
            - ./dist/main.js
        

from the ps aux i can see

'root 1 10.8 1.5 985080 125968 ? Ssl 19:34 0:02 node --max-old-space-size=4096 ./dist//main.js'

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda