Fix Office Online Server Error When Loading Large Excel Files
Question details
Users are encountering an error when trying to view large Excel workbooks in a web application powered by Office Online Server.

- Product
- Office Online Server (OOS)
- Device & OS
- not provided
- Scenario
- Attempting to open an Excel file containing a massive dataset (approximately 6,000 to 13,000 defined names or rows) in an integrated web viewer.
- Observed behavior
- The application fails to display the file and returns an error stating that the view contains more data than supported, even though the same file opens without issues in desktop Excel and Office.com.
Verify whether you have administrative access to your Office Online Server farm, as modifying server-wide memory and workbook limits requires advanced permissions.
Optimize and Reduce Data in the Workbook
Since the limitation is imposed by the Office Online Server's rendering engine, reducing the complexity of the file is the most effective way to ensure web compatibility.
Web applications using Office Online Server have strict memory allocations per session to prevent server crashes. Large volumes of defined names, complex formulas, or excessive data ranges can trigger the unsupported data limit.
Launch your desktop version of Microsoft Excel and open the problematic workbook, as the desktop app can handle much larger datasets.
Navigate to the 'Formulas' tab and click 'Name Manager'. Look for any hidden, duplicate, or unnecessary defined names (especially if they exceed 6,000 items) and delete them.
If all data is strictly necessary, consider dividing the information across two or more separate workbooks to reduce the rendering payload for the web application.

Bypass Web Viewer and Force Desktop App
If you cannot alter the file's data and do not have server admin rights, circumventing the web application viewer is the quickest workaround.
Modify OOS Farm Resource Limits (For Administrators)
Server administrators can use PowerShell to increase the data rendering limits allocated to Excel Calculation Services in the Office Online Server farm.
Handle Massive Spreadsheets Without Server Limits
Web-based Excel viewers like Office Online Server have strict resource restrictions that can disrupt your workflow when handling large files. WPS Office provides a powerful desktop client that manages massive datasets and complex workbooks seamlessly, bypassing web server limitations entirely.
- 1. Download the software: Get the free WPS Office suite from the official website and install the desktop application.
- 2. Open your large file directly: Launch WPS Spreadsheets and open your heavy .xlsx file directly from your local drive or synced folder.
- 3. Edit without web lag: Enjoy full functionality, filter data, and run complex formulas without encountering web-based data limits.

Frequently Asked Questions
Why does my large Excel file open in Office.com but not in my local Office Online Server?
Office.com is hosted on Microsoft's optimized cloud infrastructure, which often has higher memory and resource limits. A locally hosted Office Online Server relies on your organization's server configuration, which may have lower default thresholds for displaying large datasets or named ranges.
What is the maximum file size supported by Office Online Server Excel viewer?
While raw file size limits (e.g., 50 MB to 250 MB) vary based on server configuration, rendering errors are more frequently caused by the complexity of the data, such as exceeding 6,000 defined names, rather than the megabyte size of the workbook.
Can I increase the memory limit for Excel in my Office Online Server?
Yes, if you have administrative access to the OOS farm, you can adjust the Maximum Workbook Size and Maximum Private Bytes limits using PowerShell commands like Set-OfficeWebAppsFarm, provided your server has adequate hardware resources.




