Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 739
    • Issues 739
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 199
    • Merge requests 199
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

An update will be applied May 24th, between 12PM and 1PM EDT (UTC -400). The site may be slow during that time.

  • VTK
  • VTKVTK
  • Issues
  • #17556

Closed
Open
Created Mar 18, 2019 by Olav Egeland@Oleg

Memory problem when reading large files

I have a certain problem reading large files that previously have been generated in a vtk application (VTK-7.1.1 64 bits) using Windows 10. In this particular case I generated a model with 500 million points in double precision and a scalar part in single precision. No cell info, just a plain point and scalar set. Memory size ~15GB when saved on disk. This dataset can easily be saved with the vtkDataWriter. But when trying to read it back using vtkDataReader I get this error message: ERROR: In D:\VTK-7.1.1\IO\Legacy\vtkDataReader.cxx, line 430\nvtkDataReader (0000029EDEF98B90): Unable to open file. Is there anyone that can explain this and hopefully give a solution to the problem. If I reduce that file size to 50 millions it all goes fine so maybe there is a memory limit, but I can not find any such information.

It was indicated from Cory Quammen (Kitware): **Since this is on Windows, is your data file > 2.1 GB? I suspect so, and I suspect VTK 7.1.1 does not make use of the versions of file IO functions needed on Windows such as _fseeki64. **

I would very much appreciate a fix for this problem.

Thanks, b.r. Oleg

Assignee
Assign to
Time tracking