[petsc-users] Mat Destroy
Jed Brown
jedbrown at mcs.anl.gov
Fri Aug 23 18:37:25 CDT 2013
Barry Smith <bsmith at mcs.anl.gov> writes:
> We call free() at that point. But not that in Unix this does not
> mean the memory is returned to the operating system so you will not
> see the process memory go down. If you then allocate new objects
> they will reuse this memory.
Also note that MatDestroy only releases a references, so if another
object still holds a reference to your matrix, nothing will be freed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130823/ab9c4be0/attachment.pgp>
More information about the petsc-users
mailing list