piscoTech / Workout

A simple iOS app that accesses Health data to export workout data to CSV for any use.
MIT License
43 stars 9 forks source link

Reduce memory using during exporting #10

Closed piscoTech closed 5 years ago

piscoTech commented 5 years ago

The file created for exporting are built as a single string in memory and then written altogether, so it's possible that memory is filled (e.g. by exporting several years worth of workouts) and the app terminated.

File creation must become incremental to avoid this problem.