[Trilinos-Users] Sparse Matrix Memory Requirements Estimation

Davood Ansari david.ansari at gmail.com
Sat Jun 7 10:41:56 MDT 2008

Hi all

I am assembling a kind of FECrs_Matrix in Epetra.
I wonder if it is occupying too much memory.
After the assembling process is finished and all other memory resident
arrays are deleted
and right before quitting main(), I use a getchar() to get the program
hanging before I allow it to quit.
At this time, it occupies 1.3GB of my ram while it reports the number of
(using NumGlobalNonzeros()) to be 32992643 entries.
My estimate is that this should only occupy about 32992643*(8 + 4) + some
of bytes which equals to 395 Mega Bytes !!!!

Am I right and should I look for any memory leakage or some thing there ?
The mentioned code is not parallel.

Please comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://software.sandia.gov/mailman/private/trilinos-users/attachments/20080608/d86e4d70/attachment.html 

More information about the Trilinos-Users mailing list