# Why vtkMetaImageReader read a .mha file, the memory blast?

**URL:** https://discourse.vtk.org/t/why-vtkmetaimagereader-read-a-mha-file-the-memory-blast/5506
**Category:** Support
**Tags:** jobs, proposal, file-formats
**Created:** [April 7, 2021, 12:52am UTC](https://discourse.vtk.org/t/why-vtkmetaimagereader-read-a-mha-file-the-memory-blast/5506 "2021-04-07T00:52:45Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![wulicheng](https://discourse.vtk.org/user_avatar/discourse.vtk.org/wulicheng/32/1990_2.png) [@wulicheng](https://discourse.vtk.org/u/wulicheng)
#### Post date: [April 7, 2021, 12:52am UTC](https://discourse.vtk.org/t/why-vtkmetaimagereader-read-a-mha-file-the-memory-blast/5506/1 "2021-04-07T00:52:45Z")

</div>

vtkSmartPointer imagereader = vtkSmartPointer::New();  
imagereader-\>SetFileName(filename);  
imagereader-\>Update();

this is the code when i read a .mha file just 2.3M, the program memory expand to 1 G?  
this “filename” just a .mha file file path.
