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 740
    • Issues 740
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 198
    • Merge requests 198
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #9520
Closed
Open
Created Sep 09, 2009 by Kitware Robot@kwrobotOwner

Memory leak in vtkUnstructuredGridBunykRayCastFunction

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


When using a vtkUnstructuredGridVolumeRayCastMapper to render a volume with vtkUnstructuredGridBunykRayCastFunction there is a memory leak. The leak occurs when something before the mapper in the pipeline is modified and a render requested.

vtkUnstructuredGridBunykRayCastFunction::UpdateTriangleList will be called during the render, it will allocate vtkUnstructuredGridBunykRayCastFunction::TetraTriangles - but not delete the one that had been allocated on the previous call.

I have supplied c++ source to reproduce the leak, and a patch. When the source is compiled and the process will consistently leak ram. Be careful running it for long, it will 100% the cpu and uses up all the ram it can over time.

Assignee
Assign to
Time tracking