Papaya icon indicating copy to clipboard operation
Papaya copied to clipboard

Large DICOM datasets overwhelm Chrome's request quota

Open NeoTiger opened this issue 1 year ago • 0 comments

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 avatar Jun 12 '23 08:06 NeoTiger