Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 35 | |
| 35 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 58 | |
| 28 | |
| 27 | |
| 25 |