I have created a pbix file in 64bit machine. File Size: 22 MB. Rows: 5.5 Million Approx.
Data is fetched from MYSQL Database.
While I try to open the same file in a 32-bit machine, an error message pops up
“Failed to save Modification to the server. Error returned: Memory Error : Allocation Faliure. If you are using 32 bit version of the product,consider upgrading to the 64 bit version or increasing the amount of memory available on the machine”.
Follow the troubleshooting tips in this article to fix Power BI allocation failure error.
Not enough memory error in Power BI
1. Increase the memory available on the Machine
- If you are using the service on a Virtual Machine, check if the allocated memory is enough for the operations.
- Since you are getting this error, try to allocate more memory to the machine.
- You can also try to better utilize the available memory by optimizing your data model.
- You can check the Internet for guides on optimizing your data model.
2. Enable Windows page file
- The error can also occur if your system has Windows Page File disabled.
- Login with the Administrator account to your system.
- Press Windows Key + R to open Run.
- Type control and click OK to open the Control Panel.
- Click on System and Security.
- Click on System.
- From the left pane of the System window, click on Advanced System Settings.
- By default, you should be in the Advanced tab.
- From the Advanced tab, click on the Settings button under the Performance section.
- Open the Advanced tab in the Performance Options window.
- Click the Change button under Virtual Memory section.
- Make sure Automatically manage paging file size for all drives option is checked.
- Click OK to save the changes.
- Restart the computer and check if the memory allocation failure error.
3. Other solutions to try
- Try to remove any unnecessary column in Edit Queries before importing in the data model.
- While Power BI supports 2bn rows and 16,000 columns, it can be limited by the machine performance.
- Try to allocate more memory in the Data Load tab. From Power BI dashboard, open Option > Data Load.
- Now increase the maximum allowed memory.
- If you using 32-bit Excel app, I would recommend you to use 64-bit Excel which should overcome any memory limitation issues.
- Memory issues can also be caused by too many columns and bad cells, but thankfully enough these can be fixed.
This concludes our article covering the temporary memory allocation in PowerBI. Let us know if there is any other method you know of that we may have skipped, and we’ll update the article accordingly.
This post was written by Tashreef Shareef and was first posted to WindowsReport