It's using C4::Biblio and C4::Koha (and so all the modules stack) but it only needs GetMarcFromKohaField and GetAuthorisedValues. We should replace those 2 calls and see if it reduces the memory footprint of the daemon.
30M can be saved is we remove C4::Biblio and C4::Koha Then we should replace the 2 use in the SearchEngine conditional with require statements (ie. don't need to load Koha::Z3950Responder::ZebraSession if we are using elastic). And it's down to ~45M (vs 160Mo), before the a request is made.
Is it worth it?
(In reply to Jonathan Druart from comment #2) > Is it worth it? I think that it would be worth it.