Thursday, March 09, 2006
Re: st: Re: memory required for -merge-
Really, there's no "hopefully" about it. The place name contains few enough values and is short enough to fit in a value label. The revised dataset will only add about 3 bytes per observation (an int and a byte), so it will only require about 60MB of RAM which will easily fit within the 666MB remaining.
----- Original Message ----- From: "Ada Ma" <email@example.com> To: <firstname.lastname@example.org> Sent: Thursday, March 09, 2006 9:04 AM Subject: Re: st: Re: memory required for -merge-
> Turning the place_name variable from string to numeric with labels > would save a lot of bytes and (hopefully) make the merge possible. > > rename place_name place_name1 > encode place_name1, gen(place_name) label(place_name) > drop place_name1 > > > > On 3/9/06, Michael Blasnik <email@example.com> wrote: >> You've gotten several replies that dance around the simple answer -- you >> are >> trying to add a str39 variable to a dataset with more than 20 million >> observations. That will require about 39*20m= 780MB of additional memory >> and you've only got about 666MB free. >> >> Michael Blasnik >> firstname.lastname@example.org >>
* * For searches and help try: * http://www.stata.com/support/faqs/res/findit.html * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/
Links to this post: