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

Maximum Image Size #45

Open
ibrokemypie opened this issue Aug 16, 2017 · 2 comments
Open

Maximum Image Size #45

ibrokemypie opened this issue Aug 16, 2017 · 2 comments

Comments

@ibrokemypie
Copy link

Using the latest release with one 7.9MB and one 2.8MB flif, neither render and this is output to the console.

Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 33554432, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts the size at runtime but prevents some optimizations, (3) set Module.TOTAL_MEMORY to a higher value before the program runs, or if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0
flif-stillonly.js:44:383

@hrj
Copy link
Member

hrj commented Aug 16, 2017

Did you try those suggestions in the makefile? 32MB was sufficient for even the large images I was testing with, but we can probably bump it up further.

@grinapo
Copy link

grinapo commented May 2, 2018

Please update the title with at least including "Cannot enlarge memory arrays", 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

3 participants