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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
hp0lkm46
Regular Visitor

Capacity Usage of AI Function Calls

Is the compute consumption of AI function calls delayed in how it registers against capacity usage? Even after the Notebooks stop running during the day, capacity usage continues to rise overnight, despite capacity not reaching 100% (approx 80% reached). Thanks!

5 REPLIES 5
v-pnaroju-msft
Community Support
Community Support

Hi hp0lkm46,

We wanted to see if the information we gave helped fix your problem. If you need more help, please feel free to contact the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi hp0lkm46,

We are following up to see if what we shared solved your issue. If you need more support, please reach out to the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Hi hp0lkm46,

We would like to follow up and see whether the details we shared have resolved your problem.
If you need any more assistance, please feel free to connect with the Microsoft Fabric community.

Thank you.

v-pnaroju-msft
Community Support
Community Support

Thankyou, @lbendlin, for your response.

Hi hp0lkm46,

We sincerely appreciate your inquiry posted on the Microsoft Fabric Community Forum.

Based on my understanding, Spark sessions are initiated during the execution of notebooks. Even after the cells have completed execution, these sessions may remain active or idle, thereby continuing to consume capacity unless they are explicitly stopped. Additionally, Fabric employs a compute smoothing mechanism which distributes usage over time to manage sudden spikes. This can sometimes cause the usage to appear delayed or prolonged.

Please follow the steps below, which may help to resolve the issue:

  1. Stop Spark sessions manually by adding spark.stop() at the end of the notebook to release resources.
  2. Monitor the status of Spark sessions and check for any sessions still marked as Running or Idle.
  3. Utilize the Capacity Metrics App to track AI and compute usage trends, and identify ongoing or idle Spark jobs.

Furthermore, kindly refer to the following links for more information:
Understand your Fabric capacity throttling - Microsoft Fabric | Microsoft Learn
Pause and resume your capacity - Microsoft Fabric | Microsoft Learn

We hope the information provided will help to resolve the issue. Should you have any further queries, please feel free to contact the Microsoft Fabric community.

Thank you.

lbendlin
Super User
Super User

After your notebook run has completed you need to force close the spark session.

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.