Bookmark and Share

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: st: Re: twoway contour problem


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Re: twoway contour problem
Date   Tue, 15 Jan 2013 15:38:04 +0000

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
<andre.f.coelho2011@novasbe.pt> 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
> <tmp>[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
>                  <istmt>:     -  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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index