-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
2D MPR crashes on some CTs with RangeError: Array buffer allocation failed. #3229
Comments
Please provide details about the CT data that fails, like the slice dimensions, number of slices, and what clinical procedure this comes from. Also describe your environment, like what OS, browser, how much memory your machine has, etc. |
We have the CTs with the following details, This problem is for both Local and Cloud environment(AWS) as well. |
Thanks for the extra details. I have also seen array buffer allocation fail for a scan with 2000 slices. I'm not sure there's a planned work around. @sedghi has may be able to comment. |
There are some plans for this. @Ouwen has written a POC for how to split the slices into different sections and let the user see the first sectoin, until it scrolls to the bottom and it automatically triggers going to next section, maybe he can talk about that. In addition to these kinds of tricks, we are working on the INT_16 texture size which reduces the memory in half, but seems like it has some bugs in Chromium and Safari, more on that here |
Hi @muddasar-de for desktop use you can increase the memory limit from 1GB to 2GB and it should work with this PR into cornerstone3D-beta: cornerstonejs/cornerstone3D#420 There is also a partial load PR I am working on which is based on invalidating the displaySetUID |
@muddasar-de see this PR: #3235 |
Hi we are facing a similar issue. Wondering if there was any progress on this issue. Issue description Clicking the 2D MPR button will consume the entire machine's RAM, temporarily crash the browser and then render blank images on the DICOM Viewer. Our image:
Browser: Chrome Machine:
Mysteriously we have been able to succeed in using the 2D MPR feature for the same scan with several different machines (Macbook Air M1 with 8GB RAM, Macbook Pro with 16GB RAM, and Lenovo Legion with 32GB RAM and RTX 3060 GPU). Screenshots Browser console
|
also for some systems the notes here is helpful cornerstonejs/cornerstone3D#453 |
Thank you, this helped |
Please review the latest code in the master branch. I am confident that this issue has been resolved. If it persists, kindly reopen the issue with updated details. Try viewer-dev.ohif.org instead of viewer.ohif.org |
We have the CTs with the following details,
Dimensions: 512 x 512
Number of slices: 2500 to 3500
OS: Windows
Browsers: Google Chrome and Firefox
System RAM: 16GB
This problem is for both Local and Cloud environment(AWS) as well.
The text was updated successfully, but these errors were encountered: