This project is read-only.

Serious memory issue with background image layers


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.


sleschinski wrote Mar 27, 2016 at 8:41 PM

I've committed a fix.

pmeems wrote Mar 29, 2016 at 12:30 PM

rschmidt1960 wrote Mar 31 at 4: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.