Here are some tips for dealing with an "Out of memory" warning when running Eventus code (on WRDS through SSH or PC SAS, or outside WRDS such as Eventus for Windows).
-
Add the option BigSample to the Eventus statement, e.g.
Eventus BigsSample;
This implements some memory-saving techniques behind the scenes and may be enough by itself. If you have other options on the Eventus statement, BigSample can go before or after them. -
a. If you don't need to see the report of data availability for each stock, add the option NoNames to the EvtStudy statement.
b. If you don't need to see the market model parameter estimates, add the option NoPList to the EvtStudy statement.
c. If you don't need to see overall results for individual days, add the option NoSinglePeriod to the EvtStudy statement.
d. If you don't need any listing output, add the option NoPrint (which does everything that the options in a-c do and more) to the EvtStudy statement, e.g., EvtStudy OutWin=outputdataset NoPrint; -
If you're not sure what all the options you have in your statements do, ask us for advice. Sometimes eliminating some options can reduce memory usage.
-
If you are using Eventus on WRDS (Solaris or WRDS Cloud) through SSH or through PC SAS/Connect, see WRDS' advice on adjusting available memory at:
https://wrds-web.wharton.upenn.edu/wrds/research/notes/index.cfm#requesting -
As a last resort, break up the run into more than one.
Comments
2 comments
Is option in (1) Eventus BigsSample; OR Eventus BigSample ?
It seems "Eventus BigSample" is working.
Thanks.
Eventus is the statement and BigSample is one of many options that can be used in the statement. Like SAS statements, the statements that make up Eventus software must be terminated with a ; (semicolon). The order of options within an Eventus or SAS statement does not matter. Thus the syntax could be described more accurately as
Eventus ... BigSample ... ; where ... represents potential additional options.
Please sign in to leave a comment.