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
  • Hello again,

    After further testing I am still unable to see the behavior you describe - but I am very interested in getting to the bottom of this issue.
    Could you possible send me the VM that you were able to replicate this behavior on? It would be of great help.
    That way, I would undoubtedly be able to replicate the issue, and I may then ask our nrfjprog engineers to take a look at the behavior.

    Looking forward to hearing from you,

    Best regards,
    Karl

Children
No Data
Related