Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High Heap memory usage #15

Open
UKTailwind opened this issue Mar 10, 2023 · 0 comments
Open

High Heap memory usage #15

UKTailwind opened this issue Mar 10, 2023 · 0 comments

Comments

@UKTailwind
Copy link

UKTailwind commented Mar 10, 2023

Hi

I'm trying to use the code on a RP2040. I've got it working for small simple images but the heap usage is very high. For example a 100 by 100 image with just a single white line diagonally on a black background consumes over 30K bytes of heap not including the frame itself. Is there any way the compression can be changed to reduce this?

I tried reducing if (nkeys < 0x1000) {

but this just resulted in a corrupt gif

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant