I use the button with png background for the CopyToClipboard function in my application (used 6-7 times in a different fragment). Since the image should be small for my purpose, I enlarged the image area by adding an additional transparent area around the image to increase the size of the button for the click area but keep the image small (I know that it is inefficient, and since then I have developed a better way to achieve of this).
I noticed huge bursts later after loading other images (large images about 150 kb in size), and after a lot of debugging (and I mean a lot!), I found that the problem is not related to the bigger one but due to the CopyToClipboard image having a size of only 8 KB !!! Changing the old CopyToClipboard image (with a smaller transparent area) led to normal memory consumption.
My question is , why did this happen ? For such a small image , to create such huge bursts (more than doubled the memory consumption from the previous one) and made the application slow is rather difficult.
Image shown below: The white area is a transparent area. My button size: 15dp x 15dp.

I repeat, My question is Why did this happen? Not a solution for it, since I already solved the problem.
source share