Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Slowing process when running a program with multiple nested loops
From
Ly Tran <[email protected]>
To
[email protected]
Subject
st: Slowing process when running a program with multiple nested loops
Date
Mon, 14 Jan 2013 11:44:33 -0500
I wrote a program, in which there are multiple nested loops (because
there are 7 parameters, each could receive one of 5-7 different
values).
The program runs really fast at first, but starts slowing down when
getting to around the 300th iteration. By 500th iteration, it slows
down significantly, and I could never wait until the whole thing ends
(the longest I have waited was 2 hours).
Does anybody know what could be the cause of this slowing down? "Set
memory" doesn't seem to help.
Any idea will be much appreciated.
thank you.
--
Ly Tran
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/