# Opening large vts files

**URL:** https://discourse.paraview.org/t/opening-large-vts-files/6214
**Category:** ParaView Support
**Created:** [January 13, 2021, 5:22am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214 "2021-01-13T05:22:13Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Mathieu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mathieu/32/5696_2.png) [@Mathieu](https://discourse.paraview.org/u/Mathieu)
#### Post date: [January 13, 2021, 5:22am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/1 "2021-01-13T05:22:13Z")

</div>

Hello,  
I am using Paraview 5.8.1 on Ubuntu, and I am trying to read .vts files which contains results of a simulation.

When I try to open them like I usually do, I get the following error message:

```
   ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XMLParser/vtkXMLDataParser.cxx, line 654
vtkXMLDataParser (0x6fe3f70): Error reading uncompressed binary data header. Read 0 of 4 bytes.

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 345
vtkXMLStructuredGridReader (0x6fcc210): Error reading extent 1 6000 1 5334 1 1 from piece 0

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XMLParser/vtkXMLDataParser.cxx, line 654
vtkXMLDataParser (0x6fe3f70): Error reading uncompressed binary data header. Read 0 of 4 bytes.

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 345
vtkXMLStructuredGridReader (0x6fcc210): Error reading extent 1 6000 1 5334 1 1 from piece 0

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XMLParser/vtkXMLDataParser.cxx, line 654
vtkXMLDataParser (0x6fe3f70): Error reading uncompressed binary data header. Read 0 of 4 bytes.

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 345
vtkXMLStructuredGridReader (0x6fcc210): Error reading extent 1 6000 1 5334 1 1 from piece 0

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XMLParser/vtkXMLDataParser.cxx, line 654
vtkXMLDataParser (0x6fe3f70): Error reading uncompressed binary data header. Read 0 of 4 bytes.

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 345
vtkXMLStructuredGridReader (0x6fcc210): Error reading extent 1 6000 1 5334 1 1 from piece 0

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XMLParser/vtkXMLDataParser.cxx, line 654
vtkXMLDataParser (0x6fe3f70): Error reading uncompressed binary data header. Read 0 of 4 bytes.

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 345
vtkXMLStructuredGridReader (0x6fcc210): Error reading extent 1 6000 1 5334 1 1 from piece 0

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XMLParser/vtkXMLDataParser.cxx, line 654
vtkXMLDataParser (0x6fe3f70): Error reading uncompressed binary data header. Read 0 of 4 bytes.

ERROR: In /home/buildslave/dashboards/buildbot/paraview_release-pvbinsdash-linux-shared-release_superbuild/build/superbuild/paraview/src/VTK/IO/XML/vtkXMLStructuredDataReader.cxx, line 345
vtkXMLStructuredGridReader (0x6fcc210): Error reading extent 1 6000 1 5334 1 1 from piece 0

```

I was told from a collegue that this is because Paraview can’t open vts files larger than around 2.2GB. Is there any workaround for this issue ?

Thanks in advance.

---

<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: [January 13, 2021, 10:43am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/2 "2021-01-13T10:43:57Z")

</div>

> [@Mathieu](#):
>
> I was told from a collegue that this is because Paraview can’t open vts files larger than around 2.2GB. Is there any workaround for this issue ?

Not an issue afaik.

Please share your dataset or ideally a smaller dataset with the same issue.

---

<div class="post-metadata">

### Author: ![Mathieu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mathieu/32/5696_2.png) [@Mathieu](https://discourse.paraview.org/u/Mathieu)
#### Post date: [January 14, 2021, 7:07am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/3 "2021-01-14T07:07:45Z")

</div>

The issue arises only for large files, so I’m unable to recreate the issue with a small dataset.

I uploaded the compressed dataset on wetransfer because it’s still 600MB.

> **[dataset.tar.gz](https://wetransfer.com/downloads/281bfb68a14a0404048a239ebaccbf1320210114070321/af58fe)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

Please let me know if there was a better way to share it.

---

<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: [January 14, 2021, 2:04pm UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/4 "2021-01-14T14:04:38Z")

</div>

I’m able to reproduce your issue with this specific file. How do you generate it ?

---

<div class="post-metadata">

### Author: ![Mathieu](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mathieu/32/5696_2.png) [@Mathieu](https://discourse.paraview.org/u/Mathieu)
#### Post date: [January 15, 2021, 1:59am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/5 "2021-01-15T01:59:03Z")

</div>

I’m using a CFD program, in Fortran 90.

---

<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: [January 15, 2021, 11:52am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/6 "2021-01-15T11:52:56Z")

</div>

Could you generate in ASCII mode instead of binary mode ?

We need to know if the issue is within VTK or within your mesh generation code.

---

<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: [April 7, 2023, 6:40am UTC](https://discourse.paraview.org/t/opening-large-vts-files/6214/7 "2023-04-07T06:40:17Z")

</div>

2 posts were split to a new topic: [problem reading manually wrote XML files](https://discourse.paraview.org/t/problem-reading-manually-wrote-xml-files/11830)
