Recalculating in Inkscape does not seem to do anything at all.
I've now tried this with three different images.
6427x4065 JPEG - Constant increase in memory by about 30 MB per show/hide.
1158x800 JPEG - No noticable increase.
3452x4050 PNG - Up to 60~70MB per show/hide. This is the image that made me write the issue in the first place.
I don't have the ability to test multiple image sizes and types right now, but I can say that it has definitely got something to do with large PNG files. As previously stated, linking to this PNG causes no increase whatsoever.
Recalculating in Inkscape does not seem to do anything at all.
I've now tried this with three different images.
6427x4065 JPEG - Constant increase in memory by about 30 MB per show/hide.
1158x800 JPEG - No noticable increase.
3452x4050 PNG - Up to 60~70MB per show/hide. This is the image that made me write the issue in the first place.
I don't have the ability to test multiple image sizes and types right now, but I can say that it has definitely got something to do with large PNG files. As previously stated, linking to this PNG causes no increase whatsoever.