Profile memory in freefem

Dear all, is there a method to print memery in FreeFem, so that we would know which lines of the code consumes the most memery?
Yongxing

1 Like

I also faced the same issue, and I found that in the current version of PETSc one can monitor memory quite precisely using command-line arguments -memory_view,-log_view_memory and -malloc_view . See PetscMallocView and PetscMemoryView for more info about these options.

1 Like