Problem Note 48155: An out-of-memory exception might occur in the SAS® Add-In for Microsoft Office when previewing results that include 100 columns
Within the SAS Add-In for Microsoft Office, you have the ability to filter and sort your data, and then preview results before opening the results into a worksheet. However, if you display the maximum of 100 columns in the preview window, the following error might occur when you attempt to open the data into the worksheet.
System.OutOfMemoryException: Exception of type 'System.OutOfMemroyException' was
thrown.
at System.Collections.Generic.List'1.set_Capacity(Int32 value)
at System.Collections.Generic.List'1.EnsureCapacity(Int32 value)
at System.Collections.Generic.List'1.InsertRange(Int32 index, IEnumerable'1
collection)
at SAS.Servers.DatasetColumn.UpdateValues(IList'1 rawValues, IList'1
formattedValues)
at SAS.Servers.Dataset.Read(Int32 startRow)
at SAS.OfficeAddin.Rendering.ExcelDataRenderer.RenderSasData(SasDataSource
dataSource, Range destination,RenderState state, RenderOptions options, Int32
CachedRowCount)
at SAS.OfficeAddin.Excel Addin.ProcessDataView( Job contentxt context, Range
destination)
at SAS.OfficeAddin.ExcelAddin.ProcessDataViews(JobContext context)
at SAS.OfficeAddinBase.PostProcessJob(JobContext jobContext, Boolean
promptOnErrors)
To circumvent this error, choose to preview less than 100 columns.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Add-in for Microsoft Office | Microsoft® Windows® for x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Enterprise x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Home Premium x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Professional 32 bit | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Professional x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows 7 Ultimate x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows Vista | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
Windows Vista for x64 | 4.3 | 6.1 | 9.2 TS2M3 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-10-19 08:54:01 |
Date Created: | 2012-10-16 06:04:08 |