PETSc does not have this type of memory tracing, but it does report the peak usage.
Jacob Faibussowitsch <jacob....@gmail.com> writes: > Hello all, > > Is there a way to get memory usage in time from petsc? I know using -log_view > gives you total amount of memory usage by the end of the program, but I'm > interested in finding the point in time when petsc has the most > _concurrently_ allocated amount of memory. It's fine if petsc allocated say > 300 petabytes of memory over the program lifetime but it is useful to see > when petsc is at its most memory intensive. Valgrind has the "--tool=massif" > tool for this but I'm wondering if petsc has an in-house version. > > Best regards, > > Jacob Faibussowitsch > (Jacob Fai - booss - oh - vitch) > Cell: (312) 694-3391