s60sc / ESP32-CAM_MJPEG2SD

ESP32 Camera motion capture application to record JPEGs to SD card as AVI files and stream to browser as MJPEG. If a microphone is installed then a WAV file is also created. Files can be uploaded via FTP or downloaded to browser.
GNU Affero General Public License v3.0
931 stars 214 forks source link

Memory allocation failure when trying to send emails #268

Closed amilak86 closed 1 year ago

amilak86 commented 1 year ago

Here's what shown in the log...

[18:37:53.916 checkMemory] Free: heap 67268, block: 36852, pSRAM 1595023 [18:37:53.918 ERROR @ smtp.cpp:88] Could not connect to mail server smtp.gmail.com on port 465: X509 - Allocation of memory failed [18:37:53.931 WARN emailTask] Failed to send email

Any workaround is appreciated Thanks

s60sc commented 1 year ago

Use Arduino boards manager to instal latest esp32 v2.0.12 package which is more memory efficient then recompile app.