rgleason / weatherfax_pi

Weatherfax Plugin for Opencpn
GNU General Public License v3.0
5 stars 9 forks source link

Memory Use: Loaded maps stay in Ram #93

Closed rgleason closed 2 years ago

rgleason commented 2 years ago

WxFax with start misbehaving if you download too many images. It will start misbehaving and not downloading. It has limited active memory to keep track of all the coordinates for each file downloaded. As soon as you close WxFax and restart this memory is cleared, however the previous images then no longer have active georeferencing, so you will need to download them again for automatic georeferencing.

ozolli commented 2 years ago

All the loaded maps stay in RAM until OpenCPN is closed. RAM occupation depends of the maps size.

For exemple on OpenCPN linux flatpak: Load 96 maps in Arome/France: 887MB Load 57 maps in Arpege/Europe: 2250MB

The limit seems to be the system RAM. I loaded 213 maps, more than 6GB and still okay and responsive.

rgleason commented 2 years ago

Added paragraph about Memory Use to the documentation.