Skip to content

NRF52840_DK - Operator new[] out of memory #9

@j3hill

Description

@j3hill

This example builds with storage type TDB_EXTERNAL without errors, but reboots in a loop due to a fatal error ("Operator new[] out of memory") when run.
Example version: mbed-os-5.11.0-rc2 - d9625811c9193ac3ab36a969bab93e28dac03776
OS: Windows 10
Compiler: GCC_ARM
Board: NRF52840_DK

Test output:

--- Mbed OS KVStore static API example ---
kv_reset
kv_reset -> 271
kv_set first dummy key
kv_set -> 271
kv_get_info of first key
kv_get_info -> 271
kv_get_info key: /kv/dummy_key1
kv_get_info info - size: 1879048192, flags: 536889856
kv_get first key


++ MbedOS Error Info ++
Error Status: 0x8001011F Code: 287 Module: 1
Error Message: Operator new[] out of memory

Location: 0x352C1
Error Value: 0x70000001
Current Thread: main  Id: 0x2000577C Entry: 0x35829 StackSize: 0x1000 StackMem: 0x200057C0 SP: 0x200066A8
For more info, visit: https://armmbed.github.io/mbedos-error/?error=0x8001011F
-- MbedOS Error Info --

== The system has been rebooted due to a fatal error. ==

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions