[Trilinos-Users] Typical memory usage of Epetra_FECrsMatrix?

Ramsey, James J CIV (US) james.j.ramsey14.civ at mail.mil
Tue May 21 06:43:06 MDT 2013


I'm trying to get a sense of what the expected memory usage of a Epetra_FECrsMatrix should be, given a certain number of rows and nonzeros per row. I've seen the description of the CRS format at http://netlib.org/utk/papers/templates/node91.html, but it seems to lead to an underestimation of my memory usage, which worries me. So far, using the "massif" tool from valgrind tells me that my program used about 193 MB of heap memory for a finite element problem with 29,791 brick elements and 3 DOF per node, and about 800 MB of the heap for a similar finite element problem, but with 125,000 elements. I know that there are typically 81 nonzeros per row here in these particular problems. Looking at GNOME's system monitor shows me the resident memory usage is more like 500 and 900 MB, respectively. Does this look to be in the ballpark of reasonableness (taking into account the other data structures in the program that also take up memory), or should I be more suspicious?


More information about the Trilinos-Users mailing list