----- Original Message -----
From: "Elmer V Villanueva, MD ScM" <[email protected]>
To: "Statalist" <[email protected]>
Sent: Thursday, April 24, 2003 11:53 PM
Subject: st: Memory and starting Stata
> Hi All!
>
> When I call Stata 8.0 from the Start Menu, I am presented with this
> information:
>
>
>
>
> Single-user Stata for Windows perpetual license:
> Serial number: ***********
> Licensed to: Elmer V Villanueva
> Personal Installation
>
> Notes:
> 1. (/m# option or -set memory-) 10.00 MB allocated to data
> 2. (/v# option or -set maxvar-) 10000 maximum variables
>
>
>
>
> The memory and maxvar options were set permanently previously.
>
> When I call Stata by double clicking on Stata file, this is what I get:
>
>
>
>
> Notes:
> 1. (/m# option or -set memory-) 1.00 MB allocated to data
> 2. (/v# option or -set maxvar-) 32766 maximum variables
>
> .. use "C:\data 01.dta"
>
>
>
> Consider how the -set memory- value has changed. When I double click on
> a large file (say 200,000 observations), Stata spits out an error
> message that memory's too low. All's fine if I were to call up Stata
> from the Start Menu and open the file using command line syntax.
>
> Stata seems to remember -set memory- settings differently depending on
> the way you call up the program. Does anyone know why this would happen?
> More importantly, how do I get around this.
>
On the Stata Properties Sheet you must have something like
c:\stata8\wsestata.exe /m1 use "1%" which specifies how much memory to
allocate when double clicking on a .dta file. You need to remove the /m1
option.
See [GSW] page 180 "A.10 Launching by double-clicking on a .dta dataset"
Scott
*
* 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/