Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

RE: st: I can not open bank in state.


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   RE: st: I can not open bank in state.
Date   Wed, 30 Jul 2008 18:14:20 +0200

See http://www.stata.com/statalist/archive/2008-04/msg01278.html and the
ensuing discussion. Some datasets are just too big, and virtual memory is
damn slow...
Note the functionality of -describe- to display information about a dataset
without holding it in mem and -db use_option- which allows you to restrict
your open statement to certain vars or cases (or both). If you find this
dialog box too cumbersome to call, write a wrapper for it along the lines of


***************
pr def uo
	db use_option
end

***************

and put it into your personal directory (-di "`c(sysdir_personal)'"-) to
invoke it with -uo- in the future... 

Martin Weiss
_________________________________________________________________

Diplom-Kaufmann Martin Weiss
Mohlstrasse 36
Room 415
72074 Tuebingen
Germany

Fon: 0049-7071-2978184

Home: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1130

Publications: http://www.wiwi.uni-tuebingen.de/cms/index.php?id=1131

SSRN: http://papers.ssrn.com/sol3/cf_dev/AbsByAuth.cfm?per_id=669945


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of carmen gamarra
Sent: Wednesday, July 30, 2008 5:41 PM
To: [email protected]
Subject: RE: st: I can not open bank in state.

	Tom,
My operating system is Windows XP. 	
What could be the solution to open my bank? STATA allows set memory 5G, but
seems to be not enough for the bank.
	
thanks



> Date: Wed, 30 Jul 2008 07:32:43 -0500
> From: [email protected]
> To: [email protected]
> Subject: Re: st: I can not open bank in state.
>
> What operating system are you running? Windows XP or Vista will not
> give you more than 2 gig unless you are running the 64 bit versions.
>
> Tom
>
> On Wed, Jul 30, 2008 at 6:39 AM, carmen gamarra
>  wrote:
>>
>> Hi all,
>>
>> My bank has 6 530 503 KB and I can't open it in STATA. I do not know what
is the problem. Someone can help me? I have STATA 8 and 7.
>>
>>
>> Messages that STATA gives me is as follows:
>>
>> Notes:
>> 1. (/m# option or -set memory-) 10.00 MB allocated to data
>> 2. (/v# option or -set maxvar-) 5000 maximum variables
>>
>> running C:\Arquivos de programas\Stata8\profile.do ...
>>
>> . set memory 50g
>> op. sys. refuses to provide memory
>> r(909);
>>
>> . set memory 30g
>> op. sys. refuses to provide memory
>> r(909);
>>
>> . set memory 10g
>> op. sys. refuses to provide memory
>> r(909);
>>
>> . set memory 6g
>> op. sys. refuses to provide memory
>> r(909);
>>
>> . set memory 5g
>>
>> Current memory allocation
>>
>> current memory usage
>> settable value description (1M = 1024k)
>> --------------------------------------------------------------------
>> set maxvar 5000 max. variables allowed 1.733M
>> set memory 1024M max. data space 1,024.000M
>> set matsize 400 max. RHS vars in models 1.254M
>> -----------
>> 1,026.987M
>>
>> . use "C:\Documents and Settings\Cristian\Meus documentos\Meus
documentos\Bancos CD\Brasil_1979a2005_C\brasil_1979a2005_c.dta", clear
>> no room to add more observations
>> An attempt was made to increase the number of observations beyond what is
currently possible. You have the following alternatives:
>>
>> 1. Store your variables more efficiently; see help compress. (Think of
Stata's data area as the area of a rectangle; Stata can trade
>> off width and length.)
>>
>> 2. Drop some variables or observations; see help drop.
>>
>> 3. Increase the amount of memory allocated to the data area using the set
memory command; see help memory.
>> r(901);
>>
>>
>> _________________________________________________________________
>> Use video conversation to talk face-to-face with Windows Live Messenger.
>>
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL
_Refresh_messenger_video_072008
>> *
>> * For searches and help try:
>> * http://www.stata.com/help.cgi?search
>> * http://www.stata.com/support/statalist/faq
>> * http://www.ats.ucla.edu/stat/stata/
>>
>
>
>
> --
> Thomas Jacobs
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/

_________________________________________________________________
Stay in touch when you're away with Windows Live Messenger.
http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messeng
er2_072008
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index