I've just noticed this behavior today trying to import image too big for the 16MB flash onboard of RB952Ui-5AC2ND. ROS has pop out the error message complaining on insufficient disk space and aborted import, but almost all of a flash is still occupied. You can even upload 19.2 MB file to it, though flash size is 16MB !!! Of course, after device reboot, the file magically disappear, but the space occupied is the same (see image attached).
Reboot does not help, nor version upgrade, nor reinstalling ROS over Netinstall. I've tried ver. 6.48.6 and 6.49.5, same thing.
So, considering this as a BUG, some fix should be a priority.