View Issue Details

IDProjectCategoryView StatusLast Update
0013362MMAGeneralpublic2019-11-07 10:30
Reportermarek Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
Product Version1.2.0 
Target Version2.1.0 
Summary0013362: Deal somehow with storages with no space left
DescriptionCurrently the storages are considered as writable and it might fail on creation of storageInfo.xml. This way the storage is not used in MMA at all.

It should be somehow managed.
Additional Informationhttps://rink.hockeyapp.net/manage/apps/66872/app_versions/166/crash_reasons/124897639
TagsNo tags attached.
Fixed in build

Activities

rusty

2016-11-03 21:14

administrator   ~0046093

Can you elaborate on this? Doesn't sync/wi-fi sync reserve space according to the setting in MMW?

marek

2016-11-30 08:30

developer   ~0046314

Yes, sure. But the storage might be full due to other applications and MMA will fail to even create the storageInfo.xml file. This way the storage is considered as faulty and it is not used. There are a few options.

1. We can consider it as readonly, this refuse all syncs
2. we can probably consider it as writable. But USB sync won't work correctly...due to missing storageInfo.xml

rusty

2017-01-17 20:50

administrator   ~0046990

Why not go with 2. but also notify the MMA user?

e.g.
Upon starting MMA, if storageinfo.xml is missing due to space constraints and if this message hasn't appeared the previous time that MMA has run:
'Warning: your device is running low on storage and any attempt to sync will not work correctly. To resolve, free up at least 100 MB.'

marek

2017-06-14 19:51

developer   ~0048141

This is a good way. But maybe we can use combination with 1. because I am worried about unexpected behaviour. I.e. show the notification warning and consider storage as readonly till resolved by user. This will avoid failures during syncs and the writability will be recovered right after some space will be freed.

rusty

2017-06-16 17:07

administrator   ~0048148

Sure sounds good. So upon failed creation of the file:
'Warning: your device is running low on storage. Please free up at least 100 MB in order to sync.'

Note: if this issue applies to all storage locations, then the logic would probably have to be implemented selectively, and the message would have to be changed to:
'Warning: Please free up at least 100MB in order to sync:"
<location 1>
<location 2>