Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Excessive disk usage report (1+GB) #584

Closed
RamblinWreck77 opened this issue Feb 6, 2023 · 2 comments
Closed

Excessive disk usage report (1+GB) #584

RamblinWreck77 opened this issue Feb 6, 2023 · 2 comments

Comments

@RamblinWreck77
Copy link
Contributor

RamblinWreck77 commented Feb 6, 2023

Version: 4.0.4

Noticed this in our Xcode Organizer "Reports" section under "Disk"

Screenshot 2023-02-06 at 1 51 20 PM

The insight seemed interesting:

Screenshot 2023-02-06 at 1 55 04 PM

Sampled Backtrace:

Screenshot 2023-02-06 at 1 55 54 PM

@RamblinWreck77
Copy link
Contributor Author

From the doc link

The system throws an exception and generates a report when the disk writes from your app exceed a certain threshold in a 24-hour period. View the aggregated exception logs for a version of your app in the Disk Writes pane in Xcode Organizer or capture them with [MetricKit](doc://com.apple.documentation/documentation/metrickit).

Not super knowledgeable on SQL optimization, but the docs here seem interesting:

https://developer.apple.com/documentation/xcode/reducing-disk-writes

@jaredmixpanel
Copy link
Contributor

@RamblinWreck77 I've released v4.1.1 which adds an index and enables WAL journaling mode. I'm going to close this for now. Feel free to re-open if the issue persists.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants