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

Large DICOM datasets overwhelm Chrome's request quota #220

Open
NeoTiger opened this issue Jun 12, 2023 · 0 comments
Open

Large DICOM datasets overwhelm Chrome's request quota #220

NeoTiger opened this issue Jun 12, 2023 · 0 comments

Comments

@NeoTiger
Copy link

NeoTiger commented Jun 12, 2023

Large DICOM datasets consisting of more than ~1350 DCM files overwhelm Chrome's AJAX request quota. Any XHR requests beyond these are rejected by the browser leading to the viewer aborting loading and initializing (Firefox does not have this problem and was able to handle the 2717 files I had without problems)

A code review showed that during initialization, all AJAX requests for each .dcm file are generated simultaneously. When I "hacked" a fix into the code that only initially creates 20 XHR objects at once and then waits for requests to complete before creating a new one from the queue of files to load, Chrome was able to load the large dataset.

@NeoTiger NeoTiger changed the title Large DICOM datasets overwhelms Chrome request quota Large DICOM datasets overwhelm Chrome's request quota Jun 12, 2023
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