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

Out of memory issue when decoding files #90

Open
thatcort opened this issue May 17, 2018 · 0 comments
Open

Out of memory issue when decoding files #90

thatcort opened this issue May 17, 2018 · 0 comments

Comments

@thatcort
Copy link

thatcort commented May 17, 2018

I'm running into out of memory issues when I attempt to decode files. Are there any known issues around types of files or ways of interacting with the library that affect this?

In the application I'm calling msgpack.decode(new Uint8Array(<ArrayBuffer of data>))

When run, the browser tab crashes (Chrome shows an 'Awww Snap!' error page). If I run the app with the developer tools open and set some breakpoints, it stops occasionally with a warning of a potential out of memory error. I can then continue execution and the decoding completes successfully. This leads me to believe the garbage collector needs time to run.

One of the files I'm having problems with is available here: https://file.io/5MRCJL

Any help with this is greatly appreciated!

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