CONFIG_HEAP_MEM_POOL_SIZE

Heap memory pool size (in bytes)

Type: int

Help

This option specifies the size of the heap memory pool used when
dynamically allocating memory using k_malloc(). The maximum size of
the memory pool is only limited to available memory. A size of zero
means that no heap memory pool is defined.

Defaults

Kconfig definitions

At <Zephyr>/boards/arm/lpcxpresso55s28/Kconfig.defconfig:39

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC

At <Zephyr>/boards/arm/lpcxpresso55s69/Kconfig.defconfig:57

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC

At <Zephyr>/boards/arm/mimxrt685_evk/Kconfig.defconfig:40

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC && BOARD_MIMXRT685_EVK

At <Zephyr>/boards/arm/thingy53_nrf5340/Kconfig.defconfig:65

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if BT_RPMSG
    depends on !TRUSTED_EXECUTION_SECURE && (BOARD_THINGY53_NRF5340_CPUAPP || BOARD_THINGY53_NRF5340_CPUAPP_NS)

At <Zephyr>/boards/riscv/esp32c3_devkitm/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 16384
    depends on BT

At <Zephyr>/boards/xtensa/esp32/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 16384
    depends on BT

At <Zephyr>/boards/xtensa/esp_wrover_kit/Kconfig.defconfig:15

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:22

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 16384
    depends on BT

At <Zephyr>/soc/arm/atmel_sam0/common/Kconfig.defconfig.series:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 1024
    depends on USB_DEVICE_DRIVER && SOC_FAMILY_SAM0

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUAPP_QKAA:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nordic_nrf/Kconfig.defconfig:8<Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.series:8

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if NRF_802154_SER_HOST
    depends on SOC_NRF5340_CPUAPP_QKAA && SOC_SERIES_NRF53X && SOC_FAMILY_NRF

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUNET_QKAA:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/nordic_nrf/Kconfig.defconfig:8<Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.series:8

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if NRF_802154_SER_RADIO
    depends on SOC_NRF5340_CPUNET_QKAA && SOC_SERIES_NRF53X && SOC_FAMILY_NRF

At <Zephyr>/soc/xtensa/esp32s2/Kconfig.defconfig:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<nRF>/doc/_build/kconfig/Kconfig.soc.defconfig:1

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 32768
    depends on SOC_ESP32S2

At <Zephyr>/soc/arm/atmel_sam0/common/Kconfig.defconfig.series:49

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/atmel_sam0/Kconfig.defconfig:6

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 1024
    depends on USB_DEVICE_DRIVER && SOC_FAMILY_SAM0

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUAPP_QKAA:20

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nordic_nrf/Kconfig.defconfig:8<Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.series:8

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if NRF_802154_SER_HOST
    depends on SOC_NRF5340_CPUAPP_QKAA && SOC_SERIES_NRF53X && SOC_FAMILY_NRF

At <Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.nrf5340_CPUNET_QKAA:18

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27<Zephyr>/soc/arm/nordic_nrf/Kconfig.defconfig:8<Zephyr>/soc/arm/nordic_nrf/nrf53/Kconfig.defconfig.series:8

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if NRF_802154_SER_RADIO
    depends on SOC_NRF5340_CPUNET_QKAA && SOC_SERIES_NRF53X && SOC_FAMILY_NRF

At <Zephyr>/soc/xtensa/esp32s2/Kconfig.defconfig:23

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:27

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 32768
    depends on SOC_ESP32S2

At <nRF>/subsys/bluetooth/rpc/Kconfig:94

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:38

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC → Bluetooth over RPC

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on BT_RPC_CLIENT && BT_RPC

At <nRF>/lib/nrf_modem_lib/Kconfig.modemlib:9

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:94<nRF>/lib/Kconfig:11<nRF>/lib/nrf_modem_lib/Kconfig:22

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Libraries → Enable Modem library

config HEAP_MEM_POOL_SIZE
    int
    default 512
    depends on NRF_MODEM_LIB

At <Zephyr>/boards/arm/bl5340_dvk/Kconfig:64

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37<Zephyr>/boards/Kconfig:86

Menu path: (Top) → Board Options

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if BT_RPMSG
    depends on BOARD_BL5340_DVK_CPUAPP || BOARD_BL5340_DVK_CPUAPP_NS

At <Zephyr>/boards/arm/nrf5340dk_nrf5340/Kconfig:63

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37<Zephyr>/boards/Kconfig:86

Menu path: (Top) → Board Options

config HEAP_MEM_POOL_SIZE
    int
    default 4096 if BT_RPMSG
    depends on BOARD_NRF5340DK_NRF5340_CPUAPP || BOARD_NRF5340DK_NRF5340_CPUAPP_NS

At <Zephyr>/boards/arm64/fvp_base_revc_2xaemv8a/Kconfig:17

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37<Zephyr>/boards/Kconfig:86

Menu path: (Top) → Board Options

config HEAP_MEM_POOL_SIZE
    int
    default 720896 if GIC_V3_ITS

At <Zephyr>/kernel/Kconfig:544

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:40

Menu path: (Top) → General Kernel Options → Other Kernel Object Options → Use Kernel Memory Pool

config HEAP_MEM_POOL_SIZE
    int "Heap memory pool size (in bytes)"
    default 0 if !POSIX_MQUEUE
    default 1024 if POSIX_MQUEUE
    depends on KERNEL_MEM_POOL
    help
      This option specifies the size of the heap memory pool used when
      dynamically allocating memory using k_malloc(). The maximum size of
      the memory pool is only limited to available memory. A size of zero
      means that no heap memory pool is defined.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)