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'