Skip to content
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

[Perf] vtkITKImageReader OOM #3196

Open
linhuanfeng opened this issue Dec 23, 2024 · 1 comment
Open

[Perf] vtkITKImageReader OOM #3196

linhuanfeng opened this issue Dec 23, 2024 · 1 comment

Comments

@linhuanfeng
Copy link

High-level description

vtkITKImageReader may experience memory crashes when loading NRRD or MGH files over 110m or 60m on mobile devices

Steps to reproduce

vtkITKImageReader may experience memory crashes when loading NRRD or MGH files over 110m or 60m on mobile devices

Detailed Current Behavior

vtkITKImageReader may experience memory crashes when loading NRRD or MGH files over 110m or 60m on mobile devices

Environment

  • vtk.js version: all
  • Browsers: all mobile phone
  • OS:
@finetjul
Copy link
Member

Did you try to allocate a block of memory 110MB on that mobile device ? (new Uint8Array(110*1024*1024))
Maybe it's not due to vtkImageReader...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants