-
Notifications
You must be signed in to change notification settings - Fork 334
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
[Bug] When loading the imageId, I encountered the error: RangeError: Array buffer allocation failed #1777
Comments
This is not enough information, can you provide reproducible steps. Sample anonymized data etc |
Is it because the files being loaded at once are too large? Are there any methods to resolve or optimize this issue? Thank you. |
if you can generate a mini repo with code and anonymized data we can certainly look |
I encountered a similar issue. |
I understand the reason behind this issue: the address length in the imageIds array is excessively long. |
How many images you have |
I have a total of 361 imageIDs. |
Do you have minimum reproducible example? |
Describe the Bug
When it reaches this step, an error occurs: Uncaught (in promise) RangeError: Array buffer allocation failed
Steps to Reproduce
I'm reading local files and passing the obtained imageIds to createAndCacheVolume, which results in an error:RangeError: Array buffer allocation failed
The current behavior
I'm reading local files and passing the obtained imageIds to createAndCacheVolume, which results in an error:RangeError: Array buffer allocation failed
The expected behavior
I hope to successfully load the CT images. Here's a suggested approach with optimizations:
OS
window10
Node version
16.20.2
Browser
chrome
The text was updated successfully, but these errors were encountered: