Skip to content

Simple example to track VTK, Mesa and Qt4 memory leaks

License

Notifications You must be signed in to change notification settings

dvv213/SimpleQt4VTKViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleQt4VTKViewer

Simple example to track VTK, Mesa and Qt4 memory leaks

The main purpose of this example is to have a test environment for checking memory leaks asociated to Mesa-12+ and/or VTK-7.x and/or Qt-4.x

This code has been tested under the following environments:

CentOS 6.6:

  • VTK-7.1 (debug/leaks C++11)
  • Qt-4.7.2 (C++98)
  • Mesa-12.0.0 (llvm-3.6)
  • Source code (C++11)
  • GCC-5.2.0

ArchLinux:

  • VTK-7.1 (debug/leaks C++11)
  • Qt-4.8.7 (repository)
  • Mesa-13.0.2-DRI (repository)
  • Source code (C++11)
  • GCC-6.2.1

The test case is to generate a new plot, then delete it, then create it again and you will be able to notice that memory is always increasing even though the actors, renderer and render widget were removed (using vtkDebugLeaks::PrintCurrentLeaks())

Valgrind log is:

TBA

Any other usage that you might give to this software is welcomed and I hope having feedback from you

About

Simple example to track VTK, Mesa and Qt4 memory leaks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published