Esp32S3 : Memory Loss when using WIFI.

ThomasESP32
Posts: 281
Joined: Thu Jul 14, 2022 5:15 am

Esp32S3 : Memory Loss when using WIFI.

Postby ThomasESP32 » Tue Mar 24, 2026 5:16 pm

Good afternoon,

I am working on a program for Esp32S3 and I can use WIFI in station mode or in AP Mode depending on user need/action.

The problem is that my program is quite big and my SRAM is running low.
When I am starting WIFI in Station mode I have 45Ko of SRAM free (Before WIFI Start).
When I turn the Wifi staion OFF, I have just 25Ko of SRAM Free. However, I deinit everything (I thing).

I have memory lost that Is not good because user has the possibility to turn wifi ON again in AP mode for example.
If the SRAM account is low, I will get trouble.

Do you know where is the problem ? Is it normal ? When using WIFI, are they thing that stay if memory ?
Can I flush my memory ?

Best regards

Who is online

Users browsing this forum: PerplexityBot and 4 guests