When building the cube, the OLAP Server is not the workhorse, it is the Workspace Server. Therefore, when receiving out of memory errors during Cube Building, check the MEMSIZE within the Workspace Server configuration.
ERROR: A problem was encountered during data summarization.
NOTE: The initial memory limit for classification tables was 99854K bytes. Actual memory acquired was 104256K bytes.
ERROR: Cube "CubeName" cannot be created.
Reconfiguring your workspace server is discussed in : http://support.sas.com/onlinedoc/913/getDoc/en/biasag.hlp/wssptasks.htm