ryanhausen / fitsmap

FitsMap: A Simple, Lightweight Tool For Displaying Interactive Astronomical Image and Catalog Data
MIT License
46 stars 9 forks source link

There seems to be a memory leak when using the Matplotlib Image Engine to tile. #39

Closed ryanhausen closed 1 year ago

ryanhausen commented 2 years ago

When the tiles are small it doesn't matter and it doesn't seem to accumulate, but when the model gets to the larger tiles I don't think there is enough to for them to get garbage collected and they quickly eat up all the ram.

Maybe start with large tiles or shuffle tile order?

ryanhausen commented 2 years ago

The fix for this is to build the tiled representation from the lowest level up. Similar to how it is done in toast

ryanhausen commented 1 year ago

this isn't relevant v0.10.2+