-
-
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
MPR generation fails ("Uncaught (in promise) Error: CACHE_SIZE_EXCEEDED" error in browser console) #3038
Comments
Anyone? |
I think there will always be a tension between how well OHIF can manage the memory of large scans, and what the upper limit is of the browser. I'm not as deeply versed on the OHIF codebase, so maybe some others will have some recommendations. Just a thought, it looks as if you're running Firefox? Could you also try on other browsers see if the issue occurs at the same point in the loading? |
I've tried on Firefox, Chrome and Edge and gotten the same results. The issue occurs immediately after the MPR button is pressed. |
Perhaps you can share a zip with the images that caused this crash. Along with some system specs of the machine that you're running it on. Might help someone if they come across this issue and have time to dig into it? |
The machine has good specs ie i7 7th gen processor with 32gb ram. I can provide a study in private to you if you can provide your contact info. |
Hi @ranasrule, not the greatest etiquette to go tagging everyone indiscriminately in the project. Perhaps you can dive into this issue a little more yourself, this method looks interesting. |
Im really not much of a JS developer but If I play around with this code how will it integrate into the OHIF v3 stable branch code that I use to build OHIF viewer ? The code you pointed to is in a totally different repo. |
If I send you one of the studies causing this issue would you be willing to look into it? |
before doing that can you take a look at #3207 |
thank you for the reply. I tried all possible solutions outlined in the link you provided....still the same error no matter which ANGLE I use |
probably your series is quite big that can't go MPR |
there is a limit in OHIF to how big a study can be? |
No limit, but for MPR seems like the cache is being full, maybe try increasing the cache limit too |
MPR hols the stack viewport images, because usually it needs to go back to stack, so I guess the images load, but then the volume with same number of slices fail, maybe increasing our cache from 1GB to 2GB solves the issue for you |
so how do I go about increasing the cache size? is there an option in the app-config.js file? |
you should do it inside the |
So just do the following? change
to
|
oh seems like we already have a config key for it, so just add |
ok....do I set in GB or Bytes ? |
Bytes |
Hi, ranasrule is that solved? |
Maybe your GPU doesn't have enough memory. You can give it a shot by turning on the 16-bit texture and see if it helps reduce the memory usage on your GPU and RAM. Just keep in mind that not all hardware might support this feature. You can check the webgl2 report to find out more about it.
|
On the latest version of OHIF V3 MPR generation fails with the following error in the browser console "Uncaught (in promise) Error: CACHE_SIZE_EXCEEDED" . Im running OHIF in Nginx v1.23.2. Im posting my Nginx config file, OHIF app-config.js contents files below:
app-config.js
nginx.conf
The text was updated successfully, but these errors were encountered: