# ESP32 Compiler Error "DRAM segment data does not fit"

**URL:** <https://forum.arduino.cc/t/esp32-compiler-error-dram-segment-data-does-not-fit/1121622>\
**Category:** Programming\
**Created:** [April 30, 2023, 10:55pm UTC](https://forum.arduino.cc/t/esp32-compiler-error-dram-segment-data-does-not-fit/1121622 "2023-04-30T22:55:48Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DrDiettrich](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/drdiettrich/32/219048_2.png) [@DrDiettrich](https://forum.arduino.cc/u/DrDiettrich)\
**Post date:** [May 1, 2023, 10:11am UTC](https://forum.arduino.cc/t/esp32-compiler-error-dram-segment-data-does-not-fit/1121622/4 "2023-05-01T10:11:13Z")

</div>

> [@imk123](#):
>
> char _pLocalMapOne = (char_)malloc( 201 \* 201 );

You see the modified display of your code?  
That's why `<CODE>` should be used to present code. You can edit your post, select the code and click `<CODE>`.

---

_[View the full topic](https://forum.arduino.cc/t/esp32-compiler-error-dram-segment-data-does-not-fit/1121622)._
