-
Notifications
You must be signed in to change notification settings - Fork 85
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
Cannot enlarge memory arrays. #338
Comments
Hi! Seems like you're running up against whatever memory allocation is set for itk.js. @thewtex Do you encounter this issue when you first select your dataset, or after you hit "Load"? While Glance isn't really meant to view really large datasets due to constraints set by the browser, it should probably work with your Ubuntu machine specs. I don't have an ~800MB dataset on hand right now to see if I can reproduce the issue, but I have loaded 1GB of DICOM data (multiple series) into itk.js before. |
Good to hear that it could be able to work. I encounter this issue while selecting the DICOM. The load button doesn't become active. |
Is your data a single series, or multiple series? Multiple files, or one single (multi-frame) file? I might get a better idea of where to look if I know this info. |
@floryst this could likely be resolved, along with faster loading, with your WIP that enables separate series sorting / loading. In this case the pixel data is loaded incrementally, in slabs, in parallel, reducing memory usage. |
@floryst Good suggestion, for practical reasons I always use the single file format. I now also tried the multiple files format and this worked on my 16GB RAM Windows machine. Selecting the file was slow, but once loaded, the interaction was quite fast. So the issue is related to 800MB DICOM single file format, as e.g. 250MB single file format works perfectly. |
If it is a single, multi-frame file, it may help if glance used
|
Thank you very much for these useful suggestions! I succeeded in uploading a single Dicom file of 800MB with I added it like this in my code in
|
That's great! I'm sure others can benefit from what you've added, so if you submit a PR to Glance I can review and merge your changes. :) |
Hi, unfortunately, I am not able to integrate this patch in the most recent version of ParaView-glance as I only fixed it for the older version of With the new version of
|
Oh, hm that might be the switch from workerfs to memfs for itk.js virtual filesystem. Will have to investigate further to see how we can handle large files. |
This is indicating that we are not yet using |
I don't succeed in uploading a 800MB DICOM file to paraview-glance because of memory issues. How can I upload these larger files, without upgrading my RAM or VRAM? Thank you!
Error on a development server on Windows 10, 16GB RAM, 8GB VRAM:
Error on Ubuntu 18.04, 32GB RAM, 11GB VRAM:
The text was updated successfully, but these errors were encountered: