-
Notifications
You must be signed in to change notification settings - Fork 285
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) #320
Comments
anyone? |
It sounds like you've simply run out of memory. That series is probably just too big to view in the browser. It would be good to define the practical limit cornerstone can support but I'm sure there are many variables that need to be taken into account. At the least there should be better error handling. |
Thank you for your reply. It's there no way to increase the limit? I have more than enough free RAM so that probably isn't the issue. The studies open just fine but this error appears once MPR generation is triggered. Why is the issue only triggered by MPR? Don't have any such issues with OHIF v2 with the same studies. |
MPR relies on the GPU so there's a finite limit in the hardware, plus the browser may impose additional limits. Both of these would be outside the control of the web application. Maybe even outside the control of the user, depending on the browser / OS. |
But that begs the question (at least from my side) why isn't the issue occurring in OHIF v2. |
That's definitely worth debugging. If it is a GPU issue then this tool might help: https://spector.babylonjs.com/ |
What about the code below Isn't the cache size being set in this code? |
I really have zero expertise in JS so I really cant be of much help here. For what its worth I really think this is a huge issue as in the real world study sizes are only getting larger and larger day by day. Im unable to use MPR in OHIF v3 on almost 90% of the studies Im dealing with. Hopefully you guys will look into this as it makes an otherwise very promising new version very crippled. I mean you guys did MPR well on v2 so its a bummer its not working in v3 for large studies. |
@pieper cant the cache size be manipulated here ? |
can anyone offer any help? |
… is a multi-frame file or not (#320)
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" . this error doesn't occur on small series but rather large ones with approximately 500+ instances and a size of 350+ mb. 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: