3
Vote

Serious memory issue with background image layers

description

I've found that loading a background image layer causes major memory issues.

Every time you pan or zoom, the memory taken by the program increases, until eventually the program crashes. Removing the layer doesn't seem to free up the memory either.

I've been able to check that it isn't my code - I downloaded the latest MapWindow 5 and can see that the problem is in there too.

After a bit more investigation it seems that the problem exists for .png, .jpg and .tif/.tiff, but seemingly not for .bmp files? .bmp files seem ok.

comments

sleschinski wrote Mar 27, 2016 at 7:41 PM

I've committed a fix.

pmeems wrote Mar 29, 2016 at 11:30 AM

rschmidt1960 wrote Mar 31 at 3:31 PM

If there's a way to help, please let me know. I have a new application that redraws the screen often, but the memory issue is causing a lot of crashes - this fix would really be fantastic.

Ray