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:49

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

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC

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

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

Menu path: (Top)

config HEAP_MEM_POOL_SIZE
    int
    default 4096
    depends on DMA_MCUX_LPC

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

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

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:18

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_CPUAPPNS)

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

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

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:19<BuildDir>/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 && SOC_FAMILY_SAM0

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

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:19<BuildDir>/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:19<BuildDir>/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 <nRF>/subsys/bluetooth/rpc/Kconfig:83

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:50<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 <Zephyr>/boards/arm/bl5340_dvk/Kconfig:64

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

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_CPUAPPNS

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

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

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_CPUAPPNS

At <Zephyr>/kernel/Kconfig:508

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

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.)