Hi,

I run my code with options: -malloc_debug -malloc_dump, then the following
messages are produced, but nothing happened in my code. I want to know what
kind of objects I forgot freeing. Any suggestions?

[0]Total space allocated 6864 bytes
[ 0]256 bytes PetscSplitReductionCreate() line 91 in
/home/fdkong/math/petsc-3.4.1/src/vec/vec/utils/comb.c
[ 0]256 bytes PetscSplitReductionCreate() line 88 in
/home/fdkong/math/petsc-3.4.1/src/vec/vec/utils/comb.c
[ 0]512 bytes PetscSplitReductionCreate() line 87 in
/home/fdkong/math/petsc-3.4.1/src/vec/vec/utils/comb.c
[ 0]512 bytes PetscSplitReductionCreate() line 86 in
/home/fdkong/math/petsc-3.4.1/src/vec/vec/utils/comb.c
[ 0]80 bytes PetscSplitReductionCreate() line 81 in
/home/fdkong/math/petsc-3.4.1/src/vec/vec/utils/comb.c
[ 0]16 bytes PetscThreadCommReductionCreate() line 448 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcommred.c
[ 0]512 bytes PetscThreadCommReductionCreate() line 440 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcommred.c
[ 0]256 bytes PetscThreadCommReductionCreate() line 436 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcommred.c
[ 0]1280 bytes PetscThreadCommReductionCreate() line 435 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcommred.c
[ 0]32 bytes PetscThreadCommReductionCreate() line 432 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcommred.c
[ 0]128 bytes PetscThreadCommWorldInitialize() line 1242 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcomm.c
[ 0]2560 bytes PetscThreadCommWorldInitialize() line 1241 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcomm.c
[ 0]32 bytes PetscThreadCommWorldInitialize() line 1233 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcomm.c
[ 0]16 bytes PetscThreadCommSetAffinities() line 424 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcomm.c
[ 0]48 bytes PetscThreadCommCreate() line 150 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcomm.c
[ 0]336 bytes PetscThreadCommCreate() line 146 in
/home/fdkong/math/petsc-3.4.1/src/sys/threadcomm/interface/threadcomm.c
[ 0]32 bytes PetscCommDuplicate() line 151 in
/home/fdkong/math/petsc-3.4.1/src/sys/objects/tagm.c


Fande,

Reply via email to