Skip to content

Memory reduction of GMSH used as an external lib for ParaView plugin

Michel Rasquin requested to merge memory into master

The goal of this branch is to reduce the memory footprint of Gmsh, especially when used as an external library for a ParaView plugin.

So far, the first commit ensures a proper deallocation of all the PView objects in GmshFinalize (critical for large meshes in production mode), whereas the second commit forces a memory deallocation of static std vectors (important for heavy mesh partitions, and/or large number of adaptation levels).

Edited by Michel Rasquin

Merge request reports