PowerPivot for Excel – “Memory error”


You may receive the following error when attempting a data refresh using PowerPivot for Excel:

 

ppv-memory

 

Memory error: Allocation failure : Not enough storage is available to process this command. . If using a 32-bit version of the product, consider upgrading to the 64-bit version or increasing the amount of memory available on the machine.

The current operation was cancelled because another operation in the transaction failed.

 

This error may occur when using the 32-bit version of Excel, which enables you to work with up to 2GB of data in memory when using PowerPivot for Excel. The PowerPivot add-in runs as an extension of Excel and the PowerPivot Vertipaq in-memory engine loads within the same process space. As 32-bit Excel is limited to a 2GB virtual address space, once you start adding up all of the uses of that virtual address space, including Excel, all of the add-ins, and the in-memory database itself, the largest PowerPivot workbook that you can create on a 32-bit machine may actually be much lower than 2GB.

 

Installing the 64-bit versions of Excel 2010 and PowerPivot for Excel 2010 would increase the 2GB limit to 4GB. Furthermore, if you use 64-bit Excel 2013, there is no imposed file size limit, so you would be able to fully utilize the amount of memory you have installed when using 64-bit PowerPivot for Excel 2013. Alternatively, you could try reducing the imported datasets and tables by applying filters in the Table Import wizard to avoid hitting the limit when using 32-bit Excel and PowerPivot.


Comments (2)

  1. Abba says:

    This is very useful, am using windows 10 with Excel 2016 and am getting the same error. What should I do to avoid hitting the memory limit?

    1. Abba, you should use the 64-bit version of Office 2016 to help avoid getting this error.

Skip to main content