# unable to allocate xxxxx elements of size x bytes.

**URL:** https://discourse.paraview.org/t/unable-to-allocate-xxxxx-elements-of-size-x-bytes/7887
**Category:** ParaView Support
**Tags:** vtk
**Created:** [August 30, 2021, 12:57am UTC](https://discourse.paraview.org/t/unable-to-allocate-xxxxx-elements-of-size-x-bytes/7887 "2021-08-30T00:57:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![zjqf](https://discourse.paraview.org/user_avatar/discourse.paraview.org/zjqf/32/11119_2.png) [@zjqf](https://discourse.paraview.org/u/zjqf)
#### Post date: [August 30, 2021, 12:57am UTC](https://discourse.paraview.org/t/unable-to-allocate-xxxxx-elements-of-size-x-bytes/7887/1 "2021-08-30T00:57:41Z")

</div>

I have a trouble in opening vtk file. Could anyone help me?

I have 16.5G and 7G vtk file, paraview can not open them and get this error.

ERROR: In c:\bbd\b51c3c7f\source-paraview\vtk\common\core\vtkDataArrayTemplate.txx; line 142.  
vtkFloatArray(000000000DAB79B0): unable to allocate 156963840 elements of size 4 bytes.Qt has cuaght an exception thrown from an event handler.Throwing

I have no idea about it. Could anyone help me? very thanks.

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [September 18, 2021, 7:06pm UTC](https://discourse.paraview.org/t/unable-to-allocate-xxxxx-elements-of-size-x-bytes/7887/2 "2021-09-18T19:06:35Z")

</div>

This looks to be an older ParaView (based on the path here). It is asking for almost 600MB which doesn’t seem ridiculous, but might not be available contiguously. Does it open properly with a newer ParaView release (either 5.9.1 or a nightly build)?
