Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello
I'm trying to refresh a Power BI report whose source is an R script, but I get an error: 500 - Java heap space Execution interrupted.
Some suggestion of how to resolve this type of error.
Thank you!
Hello,
I'm trying to refresh a report in Power BI Desktop that is sourced from an R script, but it returns the following error: 500 - Java heap space Execution interrupted.
Any idea how I can fix it?
Thank you!
Hi @Syndicate_Admin ,
Please have a try.
With the -Xmx JVM argument, you can set the heap size.
More details: How to fix java.lang.OutOfMemoryError: Java heap space | OpCode Tech (opcodesolutions.com)
I have also found a similar post, please refer to it to see if it helps you.
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 46 | |
| 44 | |
| 29 | |
| 20 |
| User | Count |
|---|---|
| 202 | |
| 130 | |
| 102 | |
| 71 | |
| 55 |