swift-coreml-diffusers icon indicating copy to clipboard operation
swift-coreml-diffusers copied to clipboard

MetalPerformanceShadersGraph folder taking large amounts of space

Open itsjoshpark opened this issue 3 years ago • 4 comments

I'm not entirely sure if the issue is with Apple's SD Core ML implementation or if its how its being used in the sample app but after a few XCode debugging sessions this folder balloons in size. Currently its comfortably taking around 151GB of space. It can be deleted but will gradually return until there is no more space left in the drive again.

/private/var/folders/<random>/<random>/<random>/com.apple.MetalPerformanceShadersGraph

image

itsjoshpark avatar Dec 20 '22 00:12 itsjoshpark

So far I've not been able to observe this, will keep watching for a few days.

pcuenca avatar Dec 29 '22 17:12 pcuenca

It seems to happening when debugging the app with CPU & GPU compute option, but not CPU & NE.

itsjoshpark avatar Dec 31 '22 00:12 itsjoshpark

I have the same issue, it happens on both macOS and iOS.

Unfortunately on iOS, the directory does not show up and I have to delete the app every time to free up storage.

masakazozaki avatar Dec 31 '22 13:12 masakazozaki

I have the same issue, it happens on both macOS and iOS.

Unfortunately on iOS, the directory does not show up and I have to delete the app every time to free up storage.

On iOS, the "Document and Data" use a lot of space, and it won't return even when I uninstall the app and reboot my phone...

chn-lee-yumi avatar Jun 15 '24 15:06 chn-lee-yumi