Draft: Reduce memory usage in long runs
Some changes to reduce the memory baseline of tracker-miner-fs-3
on long running sessions:
- Move gst_init() to a place where it causes less in-memory caching.
- Compact internal memory usage of FANotify-based monitor, the main user of memory when idle.
- Call malloc_trim() at a more convenient point after metadata extraction.