Skip to content

mdns component high static resource usage #1100

Description

@projectgus

Answers checklist.

  • I have read the documentation for esp-protocols components and the issue is not addressed there.
  • I have updated my esp-protocols branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi @david-cermak, hope you're doing well!

I don't know if this is an actionable request, but MicroPython has been using the mdns component v1.1.0 for a long time (oops!) Today I went to update it to the latest v1.11.3 to pick up a bug fix.

Our binary size report indicated this update would add 7452 bytes of flash size and just over 2KB more static RAM usage! The RAM usage in particular is a big concern for us on smaller chips.

We're using the same set of mDNS features before and after the update, so I was wondering if there might please be any config options that could be added to this component to disable some resource-heavy features and reclaim some flash size and static RAM?

(Context from MicroPython side: micropython/micropython#19468 - we've temporarily compromised by updating only to v1.3.2 which adds 5000 bytes of binary size but no extra static RAM.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions