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

Crash when showing many animations #1

Open
EmelyanenkoK opened this issue Jun 19, 2020 · 3 comments
Open

Crash when showing many animations #1

EmelyanenkoK opened this issue Jun 19, 2020 · 3 comments

Comments

@EmelyanenkoK
Copy link

When I try to modify https://github.com/rlottie/rlottie.github.io/blob/master/multiview.js to show many different animations my chrome tab crashes. Example of animations I try to show may be found here: https://github.com/EmelyanenkoK/rlottie.github.io/tree/master/test

On my Ubuntu Chrome there are no errors on console, just crash and disconnect.
Chrome on Mac shows memory exceed error. For both cases there are plenty of free RAM, google profiler shows that less than 10 MB is used.

@smohantty
Copy link
Collaborator

@EmelyanenkoK ,
I have recompiled the wasm file with ALLOW_MEMORY_GROWTH flag.
you need to rebase to the latest code.
I tested your application with 50 images which works fine without any OOM exception.
Please test it and let me know.

Thanks
Subhransu

@EmelyanenkoK
Copy link
Author

Unfortunately it still crashes soon after I call loadFromData. I will try to recompile wasm myself and try to debug what is going on.

@smohantty
Copy link
Collaborator

Let me know how it goes .. I have updated the readme file regarding local build steps .

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