Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: insufficient memory for matrix 11 r(950)


From   "Victor, Jennifer Nicoll" <jnvictor@pitt.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: insufficient memory for matrix 11 r(950)
Date   Tue, 29 Jul 2008 12:14:26 -0400

I am receiving a memory error while trying to create (and store) many matrices simultaneously.  Increasing the memory allocation to Stata (set mem 1g) does not help.  Essentially, I am taking an nx1 vector and multiplying it by its transpose to create a 438x438 matrix.  I'm doing this 1100 times and then need to add all 1100 matrices together.  State gives me the error "insufficient memory for matrix 11 r(950)" around matrix 440 (or 700 depending on the trial).  Advice?

___________________________________________
Jennifer Nicoll Victor
Assistant Professor
Department of Political Science
University of Pittsburgh
4600 Wesley W. Posvar Hall
(412) 624-7204
E-mail:  jnvictor@pitt.edu
Homepage:  http://www.pitt.edu/~jnvictor


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index