This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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.
| User | Count |
|---|---|
| 37 | |
| 37 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 26 | |
| 23 |