Skip to content

Commit

Permalink
samples: lz4: reduce malloc arena size
Browse files Browse the repository at this point in the history
PR zephyrproject-rtos#63332 introduced a change to the LZ4 sample that set the malloc
arena to an unnecessarily large size.
After testing on native_posix, qemu_m3, and esp32s3_devkitm_appcpu, it
would appear 24K is a much more reasonable (and sufficient) size.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
  • Loading branch information
kartben authored and yunheQin committed Dec 4, 2023
1 parent 83e776e commit 161344b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/compression/lz4/prj.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CONFIG_LZ4=y
CONFIG_REQUIRES_FULL_LIBC=y
CONFIG_HEAP_MEM_POOL_SIZE=16384
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=65536
CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=24576

0 comments on commit 161344b

Please sign in to comment.