This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfutil - Very high memory consumption

Hi,

I am using nrfutil to generate a bootloader ota package for NRF52832 soic. The command I am using is

nrfutil pkg generate --hw-version 52 --sd-req 0xA8 --bootloader-version 2 --bootloader bootloader.hex --key-file ./dfu_key_private.pem ota_package_bootloader.zip
I measure on my ubuntu pc, when this command is running, the RAM consumption jumps from 3Gb to 15Gb ! So this command while executing is consuming over 12gb ! Can anyone explain why it would consume so much RAM? To test, I ran same on a virtual machine with 4gb RAM. As expected, nrfutil process gets killed by the system with "Out of memory" as the reason.
The version of nrfutil I am using is 5.2.0 
Would appreciate if someone can explain this and how to reduce the RAM consumption.
Attached is a screen shot using nrfutil memory consumption in ubuntu



Parents Reply Children
Related