Hello

I am looking for help around memory management

1 - How to get the current value of "vsz_limit" from inside a plugin (namely https://github.com/grosjo/fts-xapian/ ) , especially for indexer-worker

2 - Is there a macro or function in dovecot to get the remaining free memory from this vsz value ?

Thank you