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

Getting Error "Worker was Destroyed" while loading large sized Pdf. #1074

Open
Himesh512 opened this issue Mar 28, 2024 · 0 comments
Open

Getting Error "Worker was Destroyed" while loading large sized Pdf. #1074

Himesh512 opened this issue Mar 28, 2024 · 0 comments

Comments

@Himesh512
Copy link

Himesh512 commented Mar 28, 2024

Bug Report or Feature Request (mark with an x)
- [ ] Regression (a behavior that used to work and stopped working in a new release)
- [x ] Bug report -> please search issues before submitting
- [ ] Feature request
- [ ] Documentation issue or request

Hello Folks, I'm using "ng2-pdf-viewer": "9.1.5" version

I'm getting Error "Worker was Destroyed" in (error) handling function provided to component from pdf.mjs.

I wanted to say that it is not getting every time replicated, for me i was trying to load the PDF file around 1.25GB from the server URL of the file also it has 1303 pages.

Also even after this error text, file content chunk is getting downloaded as normal, File gets shown after whole content gets downloaded.

For the User convenience we are showing error to the User, but here if we think as user perspective it is wrong as file content download is still in process.

Can any one have faced the same issue, I'm looking for the actual RCA where why the Worker is getting Destroyed.

any detail/help is appreciable like what could be the RCA is it document Size, network latency, tab memory usage? from any one.

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