appmetrica-sdk-ios icon indicating copy to clipboard operation
appmetrica-sdk-ios copied to clipboard

Excessive number of disk writes

Open modestman opened this issue 1 year ago • 2 comments

Hello! Congratulations with open source release!

The Xcode Organizer shows that AppMetrica SDK writes lots of data to disk, this can be optimized. Apple documentation suggests:

  • Use write-ahead logging journaling mode
  • Use incremental auto_vacuum instead of full

CleanShot 2023-09-13 at 16 50 00@2x

modestman avatar Sep 13 '23 14:09 modestman

Thanks for the report! Could you please provide your environment (Xcode version) and the version of the SDK as well as a text version of the stack trace?

GLinnik21 avatar Sep 13 '23 16:09 GLinnik21

Xcode 14.3.1, metrica-sdk-ios 4.5.2

I can't provide a text version of the stack trace because it is not a crash, it's just "Insight" from MetricKit. I've added the logs in the attachment if it's useful.

xcdiskwritepoint.zip

modestman avatar Sep 13 '23 16:09 modestman