2014-03-18 64 views
0

運行宏%better_means後,我收到一條錯誤消息,但我不確定我必須更改哪些選項才能正確計算彙總統計信息。如何糾正我正在觀察的錯誤消息?

WARNING: A shortage of memory has caused the quantile computations to terminate prematurely for QMETHOD=OS. Consider using 
      QMETHOD=P2. 
    NOTE: The affected statistics will be missing from the corresponding classification levels. 
    WARNING: A shortage of memory has caused the quantile computations to terminate prematurely for QMETHOD=OS. Consider using 
      QMETHOD=P2. 
    NOTE: The affected statistics will be missing from the corresponding classification levels. 
    NOTE: Processing on disk occurred during summarization. Peak disk usage was approximately 9 Mbytes. Adjusting SUMSIZE may improve 
      performance. 

回答

1

這是由事實位數(和百分位數)計算,需要大量的存儲與計算它們的(基本上,排隊的一切行動,然後找到5%大關等)的默認方法運行。如果造成你有很多數據,或者你有很多變量或類變量,你可能會遇到這個問題。考慮將你的運行分成多個步驟(也許在一個proc方法中做一些類變量,另一個在另一箇中),或增加SAS可用的內存量。

+0

你會如何增加內存大小? – lord12

+0

'options memsize',儘管我相信這只是一個啓動選項(在會話期間不能更改)。 – Joe