# What can I do if Paraview cannot open a single vtu file larger than 2G

**URL:** https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899
**Category:** ParaView Support
**Tags:** vtk, python
**Created:** [September 21, 2023, 7:45am UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899 "2023-09-21T07:45:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![WenYuan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/f07891/32.png) [@WenYuan](https://discourse.paraview.org/u/WenYuan)
#### Post date: [September 21, 2023, 7:45am UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899/1 "2023-09-21T07:45:30Z")

</div>

What can I do if Paraview cannot open a single vtu file larger than 2G

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [September 21, 2023, 8:48am UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899/2 "2023-09-21T08:48:29Z")

</div>

Sounds like a bug, which version of ParaView are you using ?

---

<div class="post-metadata">

### Author: ![WenYuan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/f07891/32.png) [@WenYuan](https://discourse.paraview.org/u/WenYuan)
#### Post date: [September 21, 2023, 11:06am UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899/3 "2023-09-21T11:06:21Z")

</div>

> [@mwestphal](#):
>
> 像一个错误，您使用的是哪个版本的 ParaView ？

I’m using version 5.11.1.The error message isERROR: In vtkXMLDataReader.cxx, line 410  
vtkXMLUnstructuredGridReader (000001848911D250): Cannot read point data array “f\_17510” from PointData in piece 0. The data array in the element may be too short.

When the number of control grids generates files less than 2G, such errors do not occur.

---

<div class="post-metadata">

### Author: ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)
#### Post date: [September 21, 2023, 1:40pm UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899/4 "2023-09-21T13:40:40Z")

</div>

Are you using Windows? Try Linux or Mac.

Are you building Paraview from source? You can follow my instructions in the following link.

> [@This VTU file can be loaded into Linux, but not Windows](https://discourse.paraview.org/t/this-vtu-file-can-be-loaded-into-linux-but-not-windows/12380):
>
> The VTU file was generated from a in-house CFD solver based on the High Lift Workshop benchmark case. It contains 26M grid points and ~65M cells. The files are placed at Google drive: [volumes\_hlcrm\_medium.tar - Google Drive](https://drive.google.com/file/d/1twlC3oTCcRNr0IcBXKjPWfB0IBlrYDjb/view?usp=sharing) This VTU file can not be loaded into Paraview (Windows version) due to the error message: ERROR: In vtkXMLDataParser.cxx, line 651 vtkXMLDataParser (000002913777F810): Error reading uncompressed binary data header. Read 0 of 8 bytes. ERROR: In vtkXMLUnstructuredDataRead…

---

<div class="post-metadata">

### Author: ![cfd\_ow](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cfd_ow/32/9715_2.png) [@cfd\_ow](https://discourse.paraview.org/u/cfd_ow)
#### Post date: [September 21, 2023, 1:59pm UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899/5 "2023-09-21T13:59:11Z")

</div>

Thanks for this link.  
@WenYuan Just a note that the above solution worked well for me, but it needs to recompile the entire Paraview in Visual Studio in Windows. If you don’t want to do that, use Linux or Mac. The bug is from a third party XML parse library in VTK library, which is a dependency of Paraview. In the XML parse library, it uses a compiler-dependent type “long”, which is interpreted as 32-bit integer in Windows, but 64-bit integer in Linux or Mac. Hopefully the VTK community can fix this bug soon.

---

<div class="post-metadata">

### Author: ![WenYuan](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/f07891/32.png) [@WenYuan](https://discourse.paraview.org/u/WenYuan)
#### Post date: [September 22, 2023, 12:48am UTC](https://discourse.paraview.org/t/what-can-i-do-if-paraview-cannot-open-a-single-vtu-file-larger-than-2g/12899/6 "2023-09-22T00:48:45Z")

</div>

Thank you for your answers. It is true that such a problem will not occur under the Linux system again. I didn’t expect the operating system to cause such a problem. Thanks again for your answer.
