# Using ImageMarchingCubes exceeds the array length limit.

**URL:** https://discourse.vtk.org/t/using-imagemarchingcubes-exceeds-the-array-length-limit/15808
**Category:** vtk.js
**Tags:** vtkjs
**Created:** [July 12, 2025, 4:58pm UTC](https://discourse.vtk.org/t/using-imagemarchingcubes-exceeds-the-array-length-limit/15808 "2025-07-12T16:58:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Heisenberg](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/h/4da419/32.png) [@Heisenberg](https://discourse.vtk.org/u/Heisenberg)
#### Post date: [July 12, 2025, 4:58pm UTC](https://discourse.vtk.org/t/using-imagemarchingcubes-exceeds-the-array-length-limit/15808/1 "2025-07-12T16:58:01Z")

</div>

Hello everyone, I have just started learning vtk.js. Due to the large size of my data (210x676x676), when I was using ImageMarchingCubes, I exceeded the array length. Is there any solution to this problem?

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [September 28, 2025, 9:49am UTC](https://discourse.vtk.org/t/using-imagemarchingcubes-exceeds-the-array-length-limit/15808/2 "2025-09-28T09:49:50Z")

</div>

Can you please share the exact error message ? what is your data type ? (float 64, int 64, unsigned int 16 …)
