<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><blockquote type="cite" class=""> but it does report the peak usage.</blockquote><div class=""><br class=""></div>On default -log_view? Or is it another option? I have always been using the below from -log_view, I always thought it was total memory usage.<div class=""><br class=""></div><div class="">Memory usage is given in bytes:<br class=""><br class="">Object Type          Creations   Destructions     Memory  Descendants' Mem.<br class="">Reports information only for process 0.<br class=""><br class="">--- Event Stage 0: Main Stage<br class=""><br class="">         Matrix                    11             11        38060     0.<br class="">         Vec Scatter             3              3         2400       0.<br class="">         Vector                     6              6         9776       0.<br class="">         Index Set              12             12        10776     0.<br class="">         Star Forest Graph   3              3         3360       0.<br class="">         Viewer                     4              3         2520       0.<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Best regards,<br class=""><br class="">Jacob Faibussowitsch<br class="">(Jacob Fai - booss - oh - vitch)<br class="">Cell: (312) 694-3391</div></div>

</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On Apr 1, 2020, at 11:56 AM, Jed Brown <<a href="mailto:jed@jedbrown.org" class="">jed@jedbrown.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">PETSc does not have this type of memory tracing, but it does report the peak usage.<br class=""><br class="">Jacob Faibussowitsch <<a href="mailto:jacob.fai@gmail.com" class="">jacob.fai@gmail.com</a>> writes:<br class=""><br class=""><blockquote type="cite" class="">Hello all,<br class=""><br class="">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.<br class=""><br class="">Best regards,<br class=""><br class="">Jacob Faibussowitsch<br class="">(Jacob Fai - booss - oh - vitch)<br class="">Cell: (312) 694-3391<br class=""></blockquote></div></div></blockquote></div><br class=""></div></body></html>