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]
Re: Re: st: Re: twoway contour problem
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: Re: st: Re: twoway contour problem
Date
Tue, 15 Jan 2013 16:28:57 +0000
I don't know if you are still puzzled, but
1. See http://www.stata.com/help.cgi?matsize
"Changing matsize has no effect on Mata."
2. The error message you cite is generated by a Mata function.
Nick
On Tue, Jan 15, 2013 at 4:23 PM, André Ferreira Coelho
<[email protected]> wrote:
> Dear Nick,
>
> Anyway, thank you for your reply. In fact i was supposing that matsize was
> too short for intermediate calculations.
>
> Best regards,
>
> André
>
> > Date: Tue, 15 Jan 2013 15:38:04 +0000
>> Subject: Re: st: Re: twoway contour problem
>> From: [email protected]
>> To: [email protected]
>>
>> As the error message is telling you, you cannot tweak settings to
>> solve this problem. Indeed -matsize- is irrelevant here, as it applies
>> to Stata matrices only.
>>
>> Your problem implies asking Stata (strictly, Mata) for an enormous
>> matrix and it can't provide it. Regardless of your dataset size, Mata
>> needs a larger matrix for temporary calculations.
>>
>> Sympathies, but no solution.
>>
>> Nick
>>
>> On Tue, Jan 15, 2013 at 3:30 PM, André Ferreira Coelho
>> wrote:
>>
>> > The error message i got (even after clearing missing values) is:
>> >
>> > . twoway contour iratio country product
>> > _rbf_tps_setup(): 3900 unable to allocate real
>> > [88118,88118]
>> > _rbf_tps_wrk(): - function returned error
>> > _rbf_tps(): - function returned error
>> > _rbf(): - function returned error
>> > _contour_setup(): - function returned error
>> > _contour_filled(): - function returned error
>> > : - function returned error
>> >
>> >
>> > [M-2] error . . . . . . . . . . . . . . . . . . . . . . . . Return
> code
>> > 3900
>> > out of memory
>> > Mata is out of memory; the operating system refused to supply
>> > what Mata requested. There is no Mata or Stata setting that
>> > affects this, and so nothing in Mata or Stata to reset in order
>> > to get more memory. You must take up the problem with your
>> > operating system.
>> >
>> > Not sure if matsize solves anything given that for the version I am
> using
>> > (Stata 12 SE) matsize upper limit is 11,000.
>> > I am not sure if I'm not missing anything because what I would really
>> > wanted in the end is a "matrix" of 1070*164 which is not even close to
> the
>> > stata matsize limit.
*
* 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/