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

Huge memory usage on small input #27

Closed
newpavlov opened this issue Jun 8, 2018 · 2 comments
Closed

Huge memory usage on small input #27

newpavlov opened this issue Jun 8, 2018 · 2 comments

Comments

@newpavlov
Copy link
Contributor

Via #26

The following 52 byte input triggers growing memory usage (more than several gigabytes):

b"FLIF41\x1f\xff\xff\xf8\x00\x00 \x00\x00\x02\x00\x00\x00\x037\xec\x03Lh\x00\x00\x00\x03\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xffF9";
@ZoeyR
Copy link
Owner

ZoeyR commented Jun 8, 2018

Probably due to the maniac tree. I'll ask around in the FLIF-Hub gitter to figure out what a sensible limit on the size of a maniac tree is.

@newpavlov
Copy link
Contributor Author

The issue was huge number of pixels not MANIAC decoder, so #28 fixed it.

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

2 participants