← Back to team overview

dolfin team mailing list archive

Re: [HG] - Fix memory leak in Mesh

 

It only leaks if you create meshes that you throw away.

If you just create one mesh and work with that mesh, it will only leak
just before the program exits...

But if you use mesh refinement and assemble over boundaries, then
temporary meshes will be created so then you should upgrade.

/Anders


On Wed, Nov 01, 2006 at 11:48:59AM +0100, Dag Lindbo wrote:
> Was this a serious leak? Would you recommend that I update if I run
> overnight computations? /Dag
> 
> > One or more new changesets pushed to the primary DOLFIN repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset:   2401:99884c62c6feb1afe7212b8fd43b6fea0fbd5eee
> > tag:         tip
> > user:        "Anders Logg <logg@xxxxxxxxx>"
> > date:        Wed Nov 01 11:13:05 2006 +0100
> > files:       src/bench/fem/convergence/bench.py src/bench/mesh/Makefile
> > src/bench/mesh/bench.py src/bench/mesh/main.cpp
> > src/kernel/mesh/MeshTopology.cpp src/kernel/mesh/UnitCube.cpp
> > src/kernel/mesh/UnitSquare.cpp
> > description:
> > - Fix memory leak in Mesh
> > - Start working on mesh benchmark
> >
> >
> > changeset:   2400:991742a6578ea01ec7c290195cb61f0e6c7f32b5
> > user:        "Anders Logg <logg@xxxxxxxxx>"
> > date:        Wed Nov 01 10:00:07 2006 +0100
> > files:       Makefile.in src/kernel/mf/Makefile.am
> > src/kernel/mf/Makefile.in
> > description:
> > Add missing Makefile.am
> >
> >
> > changeset:   2399:4e9657ef1e440b29603b9ff14b2cabafa8c21a82
> > user:        "Garth N. Wells <g.n.wells@xxxxxxxxxx>"
> > date:        Tue Oct 31 17:50:02 2006 +0100
> > files:       src/utils/swig/Makefile.am src/utils/swig/Makefile.in
> > description:
> > Stop "make clean" from deleting src/utils/swig/dolfin-swig.
> >
> >
> > -------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> >
> 
> 
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


References