[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
leaks in multiple calls for preallocating AIJ matrices
- To: petsc-dev@xxxxxxxxxxx
- Subject: leaks in multiple calls for preallocating AIJ matrices
- From: "Lisandro Dalcin" <dalcinl@xxxxxxxxx>
- Date: Mon, 22 Oct 2007 15:35:24 -0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=PymmyldFBzeE6M57IEQ014TzmSJmvVX8skSVubB1SgM=; b=Eb5nXQth98V4HzzUhxlbbd1X2ohtKSEjilzBTdn3kD2lyWi7omktUrGlQFnz/hCy4NcyCZ2wHgCGCTeYBKfwb0vM1SSIBeGs70BmY2azM2uX6DqDPlrkglmcVXxpaA92EePzDteyplhkBnd9AVkKrYVC8oZCCYxnhqmnkVv+nYE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=kJaepdrmZxbbL1tMzQ8PANVmf4VLr5Yg2ir2qLnGSfFlEthyUweYA5OnMIJEJxnKMzQrUdJSUP0vaFGJkSzkf0UBmfm8gbT72G6n7zE5GFevCtmeKmcnlbGID7ioi88PQeXBsCVXkYpfTVRL31FhPVMdVeRWxdCKOKvYn3TRjn8=
- Reply-to: petsc-dev@xxxxxxxxxxx
- Sender: owner-petsc-dev@xxxxxxxxxxx
Currently, making sucessive calls for preallocating AIJ matrices seem
to originate memory leaks.
How should this be corrected? I would prefer that this is a valid
operation, and fix appropriate routines to deallocate/reuse previous
memory, and set the new user-specified preallocation data.
Other point: should this fix go to release-2.3.3?
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594