I have been doing some testing around DFU and I have noticed something strange.
My application size (according to nRF Connect memory read) is about 78 kB. (Left Image)
When I complete a DFU with the same program the application size becomes 155kB which is roughly double. (Right Image)


I know that the DFU has two banks, and that it copies the application from one to the other, I just would've expected it to clear the memory there after performing the DFU so that the application size would be identical between them.
Is this the expected behaviour or is there something going wrong?
DFU performed with an Android nRF Connect
SDK 14.1
nRF52832
SD5