SwiftData delete doesn't work

I'm using SwiftData to save title and images.

When I delete the model, the fetched model count reduces. But in the settings - storage - myApp, the document and data does not change. I deleted all the models but its like 9GB left.

I followed the SwiftData example app provided by Apple as much as possible.

I tried isAutosaveEnabled = false and put save() to every delete functions. deleteRule = .cascade

SwiftData delete doesn't work
 
 
Q