On Fri, Jan 15, 2016 at 9:45 AM, Harshad Sahasrabudhe <hsaha...@purdue.edu>
wrote:

> Hi,
>
> I'm trying to debug a memory leak message I get from LibMesh at the end of
> simulation. I get the following reference counter output from process 64 of
> 64:
>
>
>
> ----------------------------------------------------------------------------
> | Reference count information
>  |
>
>  ----------------------------------------------------------------------------
> | N7libMesh10FEAbstractE reference count information:
> |  Creations:    18065
> |  Destructions: 18065
> | N7libMesh10Parameters5ValueE reference count information:
> |  Creations:    20
> |  Destructions: 0
> | N7libMesh12LinearSolverIdEE reference count information:
> |  Creations:    8
> |  Destructions: 8
> | N7libMesh12SparseMatrixIdEE reference count information:
> |  Creations:    10
> |  Destructions: 10
> | N7libMesh13NumericVectorIdEE reference count information:
> |  Creations:    32
> |  Destructions: 0
> | N7libMesh15EquationSystemsE reference count information:
> |  Creations:    10
> |  Destructions: 10
> | N7libMesh15NonlinearSolverIdEE reference count information:
> |  Creations:    2
> |  Destructions: 2
> | N7libMesh4ElemE reference count information:
> |  Creations:    1
> |  Destructions: 141772
> | N7libMesh4NodeE reference count information:
> |  Creations:    0
> |  Destructions: 11960
> | N7libMesh6DofMapE reference count information:
> |  Creations:    10
> |  Destructions: 10
> | N7libMesh6SystemE reference count information:
> |  Creations:    10
> |  Destructions: 10
> | N7libMesh9DofObjectE reference count information:
> |  Creations:    1
> |  Destructions: 153732
>
> Is it normal to have 0 creations and a large number of destructions
> (possibly because the element is created on one process and then
> communicated to another)?
>

No, this is not normal.  Even if something is created and communicated, it
must be destroyed at some point on the host processor to avoid leaking
memory.

If you run your code with "--keep-cout --redirect-stdout", every processor
should produce its own reference count information, and ideally there would
not be leaks on any of them.

-- 
John
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to