LibrePhotos / librephotos

A self-hosted open source photo management service. This is the repository of the backend.
MIT License
7.01k stars 309 forks source link

Only use one instance of scanning of exiftool #335

Closed derneuere closed 3 years ago

derneuere commented 3 years ago

We currently instantiate exiftool when a picture needs it while scanning. The current release seems to have a higher memory footprint which leads to a significant increase in memory usage.

We should load/unload the exiftool instance like we do it for semantic_search and places_365.

jmalm commented 3 years ago

Fixing this.

jmalm commented 3 years ago

Fixed in https://github.com/LibrePhotos/librephotos/pull/342.