ESP32 – Out of memory – How to solve this compiler error and get more of the memory you paid for!

How to solve the out of memory error when compiling for ESP32. This will occur even when you’ve only used 1Mb of memory and you should have up to 4Mb! If you’ve seen other solutions and they didn’t work for you then try this – as I’ve had the same experience and have pieced this solution together from various sources. I’ve seen the ones where it says use the “partition scheme” menu but you find out that it’s missing! This video will explain what you need to do to get that menu and solve your memory problems. Watch the video and then use the text below to paste into the correct place (as shown on the video).

2 Comments

  1. Can you please help me partition my ESP01, i want to remove all the space allocated for OTA and use only FS and Sketch

    • Sorry for late reply, real life work has been very busy and I missed this comment. You should just be able to set the OTA partition to 0, although I haven’t tried or tested this.

Comments are closed.