8000 Memory usage is too high · Issue #13 · adafruit/Adafruit_CircuitPython_AzureIoT · GitHub
[go: up one dir, main page]

Skip to content
Memory usage is too high #13
Closed
Closed
@jimbobbennett

Description

@jimbobbennett

This library uses a LOT of memory. Just importing the library uses 91,872 bytes 😲

I'm slowly working through it trying to reduce this.

I've raised #12 to change from depending on CircuitPython_HMAC and Adafruit_CircuitPython_Hashlib, to instead having just the bits needed and that saves 18,640 bytes.

As I make more memory reductions I'll add them here and link the PRs.

We could also save about ~6,000 bytes by splitting this into two libraries - one for IoT Hub and one for IoT Central. It's very unlikely someone will want to connect to both from the same project. @brentru - what do you think about this?

Metadata

Metadata

Assignees

No one assigned

    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

      0