mtotschnig / MyExpenses

GPL licenced Android Expense Tracking App
http://www.myexpenses.mobi/
GNU General Public License v3.0
848 stars 222 forks source link

OutOfMemoryError when creating large encrypted backup #1495

Open mtotschnig opened 6 months ago

Aegeontis commented 4 months ago

Any progress on this? I am unable to create backups at all currently.

mtotschnig commented 4 months ago

Unfortunately, this is a problem of how the classes for zipping and encrypting work together and I am currently not aware of an alternative approach that would not suffer from this. So your options would be to create an unencrypted backup, or reduce the archive size by deleting heavy data like attachments that you might not need any more.

Aegeontis commented 4 months ago

Thanks for the quick reply! I didnt realize unencryped backups would work. Perhaps you could change the error message to make that more obvious?