Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

ADO.NET: Python script error. memory allocation of 8192 bytes failed

I currently have a python script which uses the Polars library to create dataframes. At the end of my script, I convert these polars dataframes into pandas dataframes. And I have a total of 5 dataframes.

 

All the dataframes seem to load up in the navigator, but when I click on 'Load', it shows me the error below:

anonymous_panda_0-1718067950830.png

Does anyone know how to solve this issue? Thank you.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi, @Anonymous 

As the error suggests, Power BI may not be able to allocate so much memory to execute the current python script. You can try to close other unnecessary applications, try to execute the current python script in a computer with more RAM. In addition, you can check whether the current python script processing is inefficient and takes up too much memory, causing the current problem.

Confirm that your current version of Power BI desktop is 64-bit, which will generally allow access to more memory.

vjianpengmsft_1-1718158147092.png

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi, @Anonymous 

Have you solved the current problem?

 

Best Regards

Jianpeng Li

Anonymous
Not applicable

Hi, @Anonymous 

As the error suggests, Power BI may not be able to allocate so much memory to execute the current python script. You can try to close other unnecessary applications, try to execute the current python script in a computer with more RAM. In addition, you can check whether the current python script processing is inefficient and takes up too much memory, causing the current problem.

Confirm that your current version of Power BI desktop is 64-bit, which will generally allow access to more memory.

vjianpengmsft_1-1718158147092.png

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.