Fix Excel Out-of-Memory Errors When Updating Charts
Question details
The user is experiencing memory leaks or out-of-memory errors in Excel, resulting in application crashes during frequent chart updates.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Updating charts frequently in workbooks containing volatile formulas or using Excel DNA add-ins.
- Observed behavior
- Excel memory usage continually grows during chart updates until the application crashes or displays an out-of-memory error.
Ensure you save a backup copy of your workbook and close other intensive background applications to free up system memory before proceeding with these tests.
Replace Volatile Formulas with Static Values
Volatile functions like RAND(), NOW(), and TODAY() recalculate constantly, triggering excessive chart updates. Replacing them with static values helps stabilize memory.
Functions that automatically recalculate upon every worksheet change are known as volatile formulas. In a workbook with heavy charting, these functions can cause endless recalculation loops, rapidly consuming available memory.
Identify cells in your workbook using functions such as RAND(), NOW(), or TODAY() that are linked to your charts.
Select the cells containing these volatile formulas and press 'Ctrl + C' on your keyboard to copy them.
Right-click the selected area, navigate to 'Paste Special' in the context menu, and choose 'Values' to convert the dynamic formulas into static data.

Isolate Add-in Issues by Testing a Simplified Workbook
Test a basic workbook to determine if the memory leak is caused by native Excel functions or third-party tools like Excel DNA.
Report the Memory Leak to Microsoft Support
If the issue persists and involves a confirmed memory leak, submit diagnostic data for professional analysis.
Try WPS Office for Smooth Chart Updates
If Excel continues to crash due to unresolved memory leaks, consider switching to WPS Office. It is a free, lightweight alternative that handles complex spreadsheets and frequent chart updates smoothly without draining system resources.
- 1. Download WPS Office: Visit the official WPS website and install the free version of WPS Office.
- 2. Open Your Spreadsheet: Launch WPS Spreadsheet and open your existing .xlsx file directly.
- 3. Update Charts Smoothly: Edit your data and update charts with reliable memory management and stable performance.

Frequently Asked Questions
What causes an out-of-memory error in Excel?
This error typically occurs when Excel reaches its memory limit due to excessively large files, infinite recalculation loops from volatile formulas, complex charts updating too quickly, or memory leaks caused by third-party add-ins like Excel DNA.
What is a volatile formula in Excel?
A volatile formula is a function that recalculates every time any change is made anywhere in the worksheet. Common examples include RAND(), NOW(), TODAY(), OFFSET(), and INDIRECT(). Excessive use of these functions can drastically reduce performance and increase memory consumption.
How can I monitor Excel's memory usage?
You can monitor memory usage by pressing 'Ctrl + Shift + Esc' to open the Windows Task Manager. Navigate to the 'Processes' tab, locate 'Microsoft Excel', and observe the 'Memory' column while updating your charts to see if consumption continually grows.




