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!Get Fabric certified for FREE! Don't miss your chance! 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 59 | |
| 48 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 107 | |
| 104 | |
| 39 | |
| 27 | |
| 27 |