# Incorrect Storage Usage Calculations

**URL:** https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971
**Category:** W&B Help
**Tags:** dashboard
**Created:** [June 20, 2024, 10:25am UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971 "2024-06-20T10:25:13Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![kaleabtessera](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kaleabtessera](https://community.wandb.ai/u/kaleabtessera)
#### Post date: [June 20, 2024, 10:25am UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/1 "2024-06-20T10:25:13Z")

</div>

I think there is a bug in storage calculations, especially when you delete files from folders. This might be related to [Exceeded free storage -- but file size is inconsistent?](https://community.wandb.ai/t/exceeded-free-storage-but-file-size-is-inconsistent/5592).

I deleted some nested files more than a week ago. When I look in the folder view, the folder is the same size, but when I click in the folder, the files I deleted are gone and the file size adds up to much smaller than the folder size. I thought it could be related cache, but some of these files were deleted more than a week ago.

 ![Screenshot from 2024-06-20 11-19-58](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/5/5b6fef6c1a2f4d0c5be3539dddc7d3d4b6ceb92c.png)  
 ![Screenshot from 2024-06-20 11-20-14](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/f/f480eb234d13ee2ea4be4419f6849971d380d12c.png)

---

<div class="post-metadata">

### Author: ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)
#### Post date: [June 21, 2024, 8:13pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/2 "2024-06-21T20:13:48Z")

</div>

Hi @kaleabtessera! Thank you for writing in!

Apologies you are seeing this behavior. After you have deleted your files, did your overall storage limit go down? Or none of the numbers got updated?

---

<div class="post-metadata">

### Author: ![kaleabtessera](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kaleabtessera](https://community.wandb.ai/u/kaleabtessera)
#### Post date: [June 22, 2024, 11:43am UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/3 "2024-06-22T11:43:17Z")

</div>

@artsiom Thanks for having a look!

So I deleted a bulk of files at once, let’s say like 10, but the overall storage limit only went down by 2/3 of those files sizes.

Now I am a storage limit, when I am pretty sure with all deleted files I should be at least 20gb less than the limit.

---

<div class="post-metadata">

### Author: ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)
#### Post date: [June 24, 2024, 5:00pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/4 "2024-06-24T17:00:51Z")

</div>

Gotcha! Thank you for elaborating.

If you go into your storage dashboard:

> **[account-settings](https://wandb.ai/account-settings/kaleabtessera/usage/manage/kaleabtessera/)**
>
> Weights & Biases, developer tools for machine learning

Are you able to see any data discrepancy in there? for a example a folder you have already deleted, or a run that says that it weights a certain amount but by clicking into it you see that it weights a completely different amount?

---

<div class="post-metadata">

### Author: ![kaleabtessera](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kaleabtessera](https://community.wandb.ai/u/kaleabtessera)
#### Post date: [June 26, 2024, 10:04am UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/5 "2024-06-26T10:04:14Z")

</div>

Hmm, seems like I no longer see the discrepancy. Not sure if some cache was recently invalidated or something, but now when I click through on folder, the numbers seem correct.

Thanks!

---

<div class="post-metadata">

### Author: ![artsiom](https://sea2.discourse-cdn.com/flex020/user_avatar/community.wandb.ai/artsiom/32/1001_2.png) [@artsiom](https://community.wandb.ai/u/artsiom)
#### Post date: [June 26, 2024, 3:22pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/6 "2024-06-26T15:22:00Z")

</div>

Thank you for the update!

I will go ahead and close this ticket out, but you are always welcome to follow up or in here or start another thread.

---

<div class="post-metadata">

### Author: ![kaleabtessera](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kaleabtessera](https://community.wandb.ai/u/kaleabtessera)
#### Post date: [July 2, 2024, 10:04pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/7 "2024-07-02T22:04:12Z")

</div>

Hey,

So it appears this is happening again after deleting nested folders for runs and storage limits not updating correctly. Again the limits seem to be off by around 10-20 GB, and files were deleted about a day or two ago.

Is there a way to clear storage cache or something?

---

<div class="post-metadata">

### Author: ![kaleabtessera](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kaleabtessera](https://community.wandb.ai/u/kaleabtessera)
#### Post date: [October 31, 2024, 12:26pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/8 "2024-10-31T12:26:37Z")

</div>

So this still happens quite often.

Here is an example in my new project, where the UI says a specific folder is using ~45 gb, but once you click into the folder, it has the correct usage - ~2gb. I deleted the artefacts using the python API a few days back.

I currently can’t view my results because of this error.

 ![Screenshot from 2024-10-31 12-21-27](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/6/6ecc13835fc62efb7ecd1547370c2527553c122d.png)  
 ![Screenshot from 2024-10-31 12-23-28](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/3/33db2afac2a9a631d3b9fe12b58006b825c97cd6.png)

---

<div class="post-metadata">

### Author: ![kaleabtessera](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@kaleabtessera](https://community.wandb.ai/u/kaleabtessera)
#### Post date: [November 1, 2024, 4:23pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/9 "2024-11-01T16:23:38Z")

</div>

@artsiom Just kindly following up on this.

---

<div class="post-metadata">

### Author: ![pavelsen](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@pavelsen](https://community.wandb.ai/u/pavelsen)
#### Post date: [February 10, 2025, 8:54pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/10 "2025-02-10T20:54:59Z")

</div>

Hello, I am facing the same issue with my project.

I deleted some artifact versions manually through the web UI, and now my total usage is different from the sum of its constituents:

The deleted artifacts are still counted in total:

 ![Screenshot 2025-02-10 at 21.50.15](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/0/0544f5e3f1c9da3e40ab1110b568f755b305d616.png)

but when I click on “artifacts” they are not anymore:

(I can’t attach a second image as this is my first comment, but it’s a submenu of “artifacts” with two children with total size of 2.5G)

This has been ongoing for two hours already, and I am blocked out of the web UI in the meantime.

Is there maybe some way to force refresh the storage usage numbers?

---

<div class="post-metadata">

### Author: ![pavelsen](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@pavelsen](https://community.wandb.ai/u/pavelsen)
#### Post date: [February 10, 2025, 8:55pm UTC](https://community.wandb.ai/t/incorrect-storage-usage-calculations/6971/11 "2025-02-10T20:55:44Z")

</div>

Attaching the second image here:

 ![Screenshot 2025-02-10 at 21.51.20](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/2X/c/c53dde06f41c7361e09f11b5ec7c1c92567efef7.png)
