Skip to content

Sketch size and memory usage after #5376 commit #5423

Closed
@reaper7

Description

@reaper7

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

Settings in IDE

  • Module: [ESP8285]
  • Flash Mode: [default for esp8285]
  • Flash Size: [1MB]
  • lwip Variant: [v2 Higher Bandwidth]
  • Reset Method: [ck]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz]
  • Upload Using: [OTA]
  • Upload Speed: [] (serial upload only)

Problem Description

what happened with the final sketch size and dynamic memory usage on commit 6280e98?

I try to compile latest sonoff-tasmota for ESP8285; 1M/noSPIFFS;
and on previous commit: 4941711
I getting:
Sketch size: 491564 (48%), max 1023984
Global variables: 50984 (62%), 30936 free for local variables

but with this commit:
Sketch size:575192 (56%), max 1023984
Global variables: 78044 (95%), 3876 free for local variables

and info about low level of available memory (possible stability problem)

MCVE Sketch

sonoff-tasmota sketch
https://github.com/arendst/Sonoff-Tasmota

Debug Messages

Debug messages go here

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions